diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/configure.tgt | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 87d6937..7ecca11 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2002-07-31 H.J. Lu <hjl@gnu.org> + + * configure.tgt: Enable 64bit emulations for 32bit Linux/mips + if 64bit BFD is selected. + 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au> * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set diff --git a/ld/configure.tgt b/ld/configure.tgt index a144123..6217f65 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -396,10 +396,16 @@ mips64*-*-linux-gnu*) targ_emul=elf32btsmipn32 targ_extra_emuls="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip" ;; mips*el-*-linux-gnu*) targ_emul=elf32ltsmip - targ_extra_emuls="elf32btsmip elf64ltsmip elf64btsmip" + targ_extra_emuls="elf32btsmip" + if test x${want64} = xtrue; then + targ_extra_emuls="$targ_extra_emuls elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" + fi ;; mips*-*-linux-gnu*) targ_emul=elf32btsmip - targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip" + targ_extra_emuls="elf32ltsmip" + if test x${want64} = xtrue; then + targ_extra_emuls="$targ_extra_emuls elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" + fi ;; mips*-*-lnews*) targ_emul=mipslnews ;; mips*-*-sysv4*) targ_emul=elf32btsmip ;; |