summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorandreast <andreast@FreeBSD.org>2011-11-19 19:25:57 +0000
committerandreast <andreast@FreeBSD.org>2011-11-19 19:25:57 +0000
commitcb931ce6939d6d325cdae98a5edf0c0784771bfd (patch)
treefa27801bdff0526227dfcb03ba9fc656872d9d8f /contrib/gcc
parent8a4f05dc7cef04d12f90ae96a9968ec29062a773 (diff)
downloadFreeBSD-src-cb931ce6939d6d325cdae98a5edf0c0784771bfd.zip
FreeBSD-src-cb931ce6939d6d325cdae98a5edf0c0784771bfd.tar.gz
Rename the linker emulation name for powerpc and powerc64. This is needed that
we can also use the upstream binutils linker where we have to have a unique name for the FreeBSD emulation.
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/config/rs6000/freebsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/config/rs6000/freebsd.h b/contrib/gcc/config/rs6000/freebsd.h
index 3136a85..56907a3 100644
--- a/contrib/gcc/config/rs6000/freebsd.h
+++ b/contrib/gcc/config/rs6000/freebsd.h
@@ -193,7 +193,7 @@ extern int dot_symbols;
#undef LINK_OS_FREEBSD_SPEC
#define ASM_DEFAULT_SPEC "-mppc%{!m32:64}"
#define ASM_SPEC "%{m32:-a32}%{!m32:-a64} " SVR4_ASM_SPEC
-#define LINK_OS_FREEBSD_SPEC "%{m32:-melf32ppc}%{!m32:-melf64ppc} " LINK_OS_FREEBSD_SPEC_DEF
+#define LINK_OS_FREEBSD_SPEC "%{m32:-melf32ppc_fbsd}%{!m32:-melf64ppc_fbsd} " LINK_OS_FREEBSD_SPEC_DEF
#endif
/* _init and _fini functions are built from bits spread across many
OpenPOWER on IntegriCloud