summaryrefslogtreecommitdiff
path: root/package/switch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:00 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-04-05 12:36:00 +0000
commit750115a65c4f4aab1818ae01a841c04ba589dc1d (patch)
treed17b9a20c6f38b122455e0dfbe9a23f5a406d85a /package/switch
parentbe5d8e6c878c92f8100c634af01c302717704b2f (diff)
downloadmtk-20170518-750115a65c4f4aab1818ae01a841c04ba589dc1d.zip
mtk-20170518-750115a65c4f4aab1818ae01a841c04ba589dc1d.tar.gz
mtk-20170518-750115a65c4f4aab1818ae01a841c04ba589dc1d.tar.bz2
toolchain/uClibc: Disable mips16 for uClibc for now
For now, build uclibc without -mips16. There's no mips16 syscall support AFAIK and uclibc uses inline assembly syscalls a lot. In addition, touching errno means touching a TLS model symbol, and that's not supported in gcc 4.6. The __set_errno macro can be put back to calling errno_location(). This allows much of the library to be built in mips16 mode. I don't understand the implications to the thread library of doing this. A list of "build as -mno-mips16" C source files can be placed in the mips architecture-dependent build files. Maintaining the list would be no fun. Signed-off-by: Jay Carlson <nop@nop.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36199
Diffstat (limited to 'package/switch')
0 files changed, 0 insertions, 0 deletions