Changeset 36199


Ignore:
Timestamp:
2013-04-05T14:36:00+02:00 (5 years ago)
Author:
florian
Message:

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@…>
Signed-off-by: Florian Fainelli <florian@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/uClibc/common.mk

    r33807 r36199  
    4444                $(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD), \ 
    4545                        $(if $(CONFIG_HAS_SPE_FPU),$(if $(wildcard $(CONFIG_DIR)/$(ARCH).e500),.e500)))) 
     46 
     47TARGET_CFLAGS := $(filter-out -mips16,$(TARGET_CFLAGS)) 
    4648 
    4749CPU_CFLAGS = \ 
Note: See TracChangeset for help on using the changeset viewer.