Add Linux style directory searching.
authorIan Lance Taylor <ian@airs.com>
Fri, 8 Sep 1995 23:37:45 +0000 (23:37 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 8 Sep 1995 23:37:45 +0000 (23:37 +0000)
commited753c20492aad05a0bd210970412c6e333dd09c
tree0381d7a2c296fd4d5591c4cbbcee45fa22fe1276
parent2b71e1e4d790289e6c62d67104cdfa968ba1d94e
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.
ld/ChangeLog
ld/Makefile.in
ld/configure.tgt
ld/emulparams/.Sanitize
ld/emulparams/i386lelf.sh [new file with mode: 0644]
ld/emultempl/elf32.em