summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/sysv4le.h
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-06 02:57:43 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-06 02:57:43 +0000
commita6245fde71802d83d3cd80233bd0fdd719ca16f5 (patch)
treef912347d99dca48f5336ae64c057bbd36b91c83d /gcc/config/rs6000/sysv4le.h
parent23c6c8a24785a6642819174fcc9dcadb20f24ae8 (diff)
downloadgcc-a6245fde71802d83d3cd80233bd0fdd719ca16f5.tar.gz
* config/rs6000/linux.h (DEFAULT_ASM_ENDIAN): Define.
(LINK_OS_LINUX_EMUL): Use ENDIAN_SELECT. * config/rs6000/linux64.h (DEFAULT_ASM_ENDIAN): Define. * config/rs6000/sysv4le.h (DEFAULT_ASM_ENDIAN): Define. (LINK_TARGET_SPEC): Use ENDIAN_SELECT. * config/rs6000/sysv4.h (DEFAULT_ASM_ENDIAN): Define as -mbig. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198620 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/sysv4le.h')
-rw-r--r--gcc/config/rs6000/sysv4le.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/rs6000/sysv4le.h b/gcc/config/rs6000/sysv4le.h
index 40ab10a3062..3901122a738 100644
--- a/gcc/config/rs6000/sysv4le.h
+++ b/gcc/config/rs6000/sysv4le.h
@@ -25,12 +25,12 @@
#undef CC1_ENDIAN_DEFAULT_SPEC
#define CC1_ENDIAN_DEFAULT_SPEC "%(cc1_endian_little)"
+#undef DEFAULT_ASM_ENDIAN
+#define DEFAULT_ASM_ENDIAN " -mlittle"
+
#undef LINK_TARGET_SPEC
-#define LINK_TARGET_SPEC "\
-%{mbig: --oformat elf32-powerpc } %{mbig-endian: --oformat elf32-powerpc } \
-%{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \
- %{mcall-linux: --oformat elf32-powerpc} \
- }}}}"
+#define LINK_TARGET_SPEC \
+ ENDIAN_SELECT(" --oformat elf32-powerpc", "", "")
#undef MULTILIB_DEFAULTS
#define MULTILIB_DEFAULTS { "mlittle", "mcall-sysv" }