mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
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
3e0a9f1ff2
commit
e38aad0ed9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239547
@ -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