summaryrefslogtreecommitdiff
path: root/gcc/config/i386/gnu-user64.h
diff options
context:
space:
mode:
authorRobert Millan <rmh@gnu.org>2011-06-14 17:32:55 +0200
committerUros Bizjak <uros@gcc.gnu.org>2011-06-14 17:32:55 +0200
commit7d8d16c3d94564f7210fb4a4711246d9399ab065 (patch)
tree102c30f302687eb7748ae7dc27626f6febdd7d2b /gcc/config/i386/gnu-user64.h
parent0ccef3d2565b0a15a799da5cc8ffa9790dae388d (diff)
downloadgcc-7d8d16c3d94564f7210fb4a4711246d9399ab065.tar.gz
kfreebsd-gnu.h: Resync with `config/i386/linux.h'.
* config/i386/kfreebsd-gnu.h: Resync with `config/i386/linux.h'. * config/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER): Resync with `config/linux.h'. * config/i386/kfreebsd-gnu64.h: New file. * config.gcc (x86_64-*-kfreebsd*-gnu): Replace `i386/kfreebsd-gnu.h' with `i386/kfreebsd-gnu64.h'. * config/i386/linux64.h (GNU_USER_LINK_EMULATION32) (GNU_USER_LINK_EMULATION64): New macros. * config/i386/gnu-user64.h (LINK_SPEC): Rely on `GNU_USER_LINK_EMULATION32' and `GNU_USER_LINK_EMULATION64' instead of hardcoding `elf_i386' and `elf_x86_64'. From-SVN: r175031
Diffstat (limited to 'gcc/config/i386/gnu-user64.h')
-rw-r--r--gcc/config/i386/gnu-user64.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/i386/gnu-user64.h b/gcc/config/i386/gnu-user64.h
index 3ece0faa6df..b069975ef19 100644
--- a/gcc/config/i386/gnu-user64.h
+++ b/gcc/config/i386/gnu-user64.h
@@ -69,7 +69,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
%{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
#undef LINK_SPEC
-#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \
+#define LINK_SPEC "%{" SPEC_64 ":-m " GNU_USER_LINK_EMULATION64 "} \
+ %{" SPEC_32 ":-m " GNU_USER_LINK_EMULATION32 "} \
%{shared:-shared} \
%{!shared: \
%{!static: \