From f2df45f6958f781a64bcca14357465563085c7d4 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Fri, 31 May 2002 12:04:33 +0000 Subject: [PATCH] * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec. From-SVN: r54107 --- gcc/ChangeLog | 4 ++++ gcc/config/sh/elf.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a0d837cac6..f2084b30405 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Fri May 31 12:38:43 2002 J"orn Rennecke + + * config/sh/elf.h (ASM_SPEC): Use subtarget_endian_asm_spec. + Fri May 31 13:50:19 CEST 2002 Jan Hubicka * i386.c (classify_argument): Properly handle base types. diff --git a/gcc/config/sh/elf.h b/gcc/config/sh/elf.h index 0f735f536a5..a2633512ab2 100644 --- a/gcc/config/sh/elf.h +++ b/gcc/config/sh/elf.h @@ -71,7 +71,7 @@ Boston, MA 02111-1307, USA. */ #define PTRDIFF_TYPE (TARGET_SH5 ? "long int" : "int") /* Pass -ml and -mrelax to the assembler and linker. */ #undef ASM_SPEC -#define ASM_SPEC "%{ml:-little} %{mrelax:-relax} \ +#define ASM_SPEC "%(subtarget_asm_endian_spec) %{mrelax:-relax} \ %{m5-compact:--isa=SHcompact} %{m5-compact-nofpu:--isa=SHcompact} \ %{m5-32media:--isa=SHmedia --abi=32} %{m5-32media-nofpu:--isa=SHmedia --abi=32} \ %{m5-64media:--isa=SHmedia --abi=64} %{m5-64media-nofpu:--isa=SHmedia --abi=64}"