diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-08 23:37:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-08 23:37:45 +0000 |
commit | ed753c20492aad05a0bd210970412c6e333dd09c (patch) | |
tree | 0381d7a2c296fd4d5591c4cbbcee45fa22fe1276 /ld/configure.tgt | |
parent | 2b71e1e4d790289e6c62d67104cdfa968ba1d94e (diff) | |
download | gdb-ed753c20492aad05a0bd210970412c6e333dd09c.zip gdb-ed753c20492aad05a0bd210970412c6e333dd09c.tar.gz gdb-ed753c20492aad05a0bd210970412c6e333dd09c.tar.bz2 |
Add Linux style directory searching.
* configure.tgt: Add i386lelf to targ_extra_emuls for
i[345]86-*-linuxaout* and i[345]86-*-linuxoldld. For
i[345]86-*-linux*, set targ_emul to i386lelf, and add elf_i386 to
targ_extra_emuls.
* emulparams/i386lelf.sh: New file, a copy of elf_i386.sh.
* emultempl/elf32.em: If TARGET_IS_i386lelf, use autoconf
recommended mechanism to define DIR and struct dirent.
(libcmp): New static function use only when TARGET_IS_i386lelf.
(gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
* Makefile.in (ALL_EMULATIONS): Add ei386lelf.o
(ei386lelf.c): New target.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r-- | ld/configure.tgt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt index 6d82a08..13e6bff 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -46,9 +46,15 @@ i[345]86-*-bsd) targ_emul=i386bsd ;; i[345]86-*-bsd386) targ_emul=i386bsd ;; i[345]86-*-bsdi*) targ_emul=i386bsd ;; i[345]86-*-aout) targ_emul=i386aout ;; -i[345]86-*-linuxaout*) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; -i[345]86-*-linuxoldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; -i[345]86-*-linux*) targ_emul=elf_i386; targ_extra_emuls=i386linux ;; +i[345]86-*-linuxaout*) targ_emul=i386linux + targ_extra_emuls="i386lelf elf_i386" + ;; +i[345]86-*-linuxoldld) targ_emul=i386linux + targ_extra_emuls="i386lelf elf_i386" + ;; +i[345]86-*-linux*) targ_emul=i386lelf + targ_extra_emuls="elf_i386 i386linux" + ;; i[345]86-*-sysv4*) targ_emul=elf_i386 ;; i[345]86-*-unixware) targ_emul=elf_i386 ;; i[345]86-*-netbsd*) targ_emul=i386nbsd ;; |