<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rtl819xx/toolchain/gcc/patches/4.6-linaro/900-bad-mips16-crt, branch realtek-unstable</title>
<subtitle>Realtek rtl819xx port to OpenWrt</subtitle>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/'/>
<entry>
<title>toolchain/gcc: .init and .fini need to pick one ISA</title>
<updated>2013-04-05T12:36:06+00:00</updated>
<author>
<name>florian</name>
<email>florian@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2013-04-05T12:36:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=d6821f8ca8c7e161dc91fa99d80e51e9fad00543'/>
<id>d6821f8ca8c7e161dc91fa99d80e51e9fad00543</id>
<content type='text'>
The .init and .fini sections are built by concatenating code
fragments. Putting mips16 code in the middle of a mips32 code block
doesn't work. Make gcc built the magic crt stuff in no-mips16 mode.

This is specific to 4.6-linaro but is probably portable to other gcc
flavors. Adding this to the t-libgcc-mips16 makefile fragment is a
hack not suitable for pushing upstream, but there is no mips/t-linux
or mips/t-uclibc and I am not going to touch gcc/configure for two
lines.

Signed-off-by: Jay Carlson &lt;nop@nop.com&gt;
Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36200 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The .init and .fini sections are built by concatenating code
fragments. Putting mips16 code in the middle of a mips32 code block
doesn't work. Make gcc built the magic crt stuff in no-mips16 mode.

This is specific to 4.6-linaro but is probably portable to other gcc
flavors. Adding this to the t-libgcc-mips16 makefile fragment is a
hack not suitable for pushing upstream, but there is no mips/t-linux
or mips/t-uclibc and I am not going to touch gcc/configure for two
lines.

Signed-off-by: Jay Carlson &lt;nop@nop.com&gt;
Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36200 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
</feed>
