elf.h (ASM_SPEC, LINK_SPEC): Pass -EL if -mlittle-endian is specified.
* config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL if -mlittle-endian is specified. From-SVN: r59348
This commit is contained in:
parent
1dda7ee45a
commit
4d938a0912
|
@ -1,3 +1,8 @@
|
||||||
|
2002-11-21 Jason Thorpe <thorpej@wasabisystems.com>
|
||||||
|
|
||||||
|
* config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
|
||||||
|
if -mlittle-endian is specified.
|
||||||
|
|
||||||
2002-11-21 Richard Earnshaw <rearnsha@arm.com>
|
2002-11-21 Richard Earnshaw <rearnsha@arm.com>
|
||||||
|
|
||||||
PR optimization/2903
|
PR optimization/2903
|
||||||
|
|
|
@ -46,6 +46,7 @@ Boston, MA 02111-1307, USA. */
|
||||||
#ifndef ASM_SPEC
|
#ifndef ASM_SPEC
|
||||||
#define ASM_SPEC "\
|
#define ASM_SPEC "\
|
||||||
%{mbig-endian:-EB} \
|
%{mbig-endian:-EB} \
|
||||||
|
%{mlittle-endian:-EL} \
|
||||||
%{mcpu=*:-mcpu=%*} \
|
%{mcpu=*:-mcpu=%*} \
|
||||||
%{march=*:-march=%*} \
|
%{march=*:-march=%*} \
|
||||||
%{mapcs-*:-mapcs-%*} \
|
%{mapcs-*:-mapcs-%*} \
|
||||||
|
@ -91,7 +92,7 @@ Boston, MA 02111-1307, USA. */
|
||||||
#define JUMP_TABLES_IN_TEXT_SECTION (TARGET_ARM)
|
#define JUMP_TABLES_IN_TEXT_SECTION (TARGET_ARM)
|
||||||
|
|
||||||
#ifndef LINK_SPEC
|
#ifndef LINK_SPEC
|
||||||
#define LINK_SPEC "%{mbig-endian:-EB} -X"
|
#define LINK_SPEC "%{mbig-endian:-EB} %{mlittle-endian:-EL} -X"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Run-time Target Specification. */
|
/* Run-time Target Specification. */
|
||||||
|
|
Loading…
Reference in New Issue