aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-08 23:37:45 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-08 23:37:45 +0000
commited753c20492aad05a0bd210970412c6e333dd09c (patch)
tree0381d7a2c296fd4d5591c4cbbcee45fa22fe1276 /ld/Makefile.in
parent2b71e1e4d790289e6c62d67104cdfa968ba1d94e (diff)
downloadgdb-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/Makefile.in')
-rw-r--r--ld/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 0543547..07842ce 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -202,7 +202,8 @@ ALL_EMULATIONS = ea29k.o ealpha.o earmaoutl.o earmaoutb.o \
emipsidt.o emipsidtl.o emipslit.o enews.o ens32knbsd.o eppcnw.o \
eriscix.o esa29200.o eshl.o esh.o esparclynx.o esparcnbsd.o \
est2000.o esun3.o esun4.o evanilla.o evax.o evsta.o \
- ez8001.o ez8002.o ei386pe.o earmpe.o eelf32vr4300.o eelf32vr4300el.o
+ ez8001.o ez8002.o ei386pe.o earmpe.o eelf32vr4300.o \
+ eelf32vr4300el.o ei386lelf.o
CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
@@ -441,6 +442,9 @@ em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
$(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
${GENSCRIPTS} i386linux
+ei386lelf.c: $(srcdir)/emulparams/i386lelf.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} i386lelf
eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32_sparc
@@ -859,7 +863,7 @@ config.h: stamp-h ; @true
stamp-h: config.in config.status
CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
-config.status: configure configure.host
+config.status: configure configure.host configure.tgt
$(SHELL) ./config.status --recheck
# What appears below is generated by a hacked mkdep using gcc -MM.