Get rid of ARM_BIG_ENDIAN for good:

- remove leftovers in Makefile.arm
  - Let ld use default output format instead of providing one in ldscript
This commit is contained in:
gonzo 2012-08-21 23:44:47 +00:00
parent 3715d30a3f
commit e306c6c160
2 changed files with 0 additions and 12 deletions

View File

@ -35,17 +35,6 @@ INCLUDES+= -I$S/contrib/libfdt
SYSTEM_LD:= ${SYSTEM_LD:$S/conf/ldscript.$M=ldscript.$M}
SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/ldscript.$M=ldscript.$M}
.if defined(ARM_BIG_ENDIAN)
CC += -mbig-endian
SYSTEM_LD += -EB
LD += -EB
.else
CC += -mlittle-endian
SYSTEM_LD += -EL
LD += -EL
.endif
.if !defined(DEBUG) && !defined(PROFLEVEL)
STRIP_FLAGS = -S
.endif

View File

@ -1,5 +1,4 @@
/* $FreeBSD$ */
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)