diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2002-08-01 06:24:53 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2002-08-01 06:24:53 +0000 |
commit | 39a2a3eb35ceb8cad11677c221caca751c9838c7 (patch) | |
tree | 749dd6cb413bc83529ca52df5cc5e0393ff991e5 /ld | |
parent | 6e95b1c4e0f2262d29662797bddb2253e7fa973b (diff) | |
download | gdb-39a2a3eb35ceb8cad11677c221caca751c9838c7.zip gdb-39a2a3eb35ceb8cad11677c221caca751c9838c7.tar.gz gdb-39a2a3eb35ceb8cad11677c221caca751c9838c7.tar.bz2 |
Enable x86-64 for Linux/i386 if 64bit BFD is selected.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/configure.tgt | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 7ecca11..10237f1 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 2002-07-31 H.J. Lu <hjl@gnu.org> + * configure.tgt: Enable x86-64 emulation for Linux/i386 if + 64bit BFD is selected. + +2002-07-31 H.J. Lu <hjl@gnu.org> + * configure.tgt: Enable 64bit emulations for 32bit Linux/mips if 64bit BFD is selected. diff --git a/ld/configure.tgt b/ld/configure.tgt index 6217f65..88e7eb1 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -144,6 +144,9 @@ i[3456]86-*-linux*aout*) targ_emul=i386linux i[3456]86-*-linux*oldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; i[3456]86-*-linux-gnu*) targ_emul=elf_i386 targ_extra_emuls=i386linux + if test x${want64} = xtrue; then + targ_extra_emuls="$targ_extra_emuls elf_x86_64" + fi tdir_i386linux=${targ_alias}aout ;; x86_64-*-linux-gnu*) targ_emul=elf_x86_64 |