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:
parent
3715d30a3f
commit
e306c6c160
@ -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
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* $FreeBSD$ */
|
||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
|
||||
OUTPUT_ARCH(arm)
|
||||
ENTRY(_start)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user