aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-10-16 23:19:04 +0000
committerIan Lance Taylor <ian@airs.com>1995-10-16 23:19:04 +0000
commitb5f076d4aaa8c2efc3fca762e3fc3b01c313aacf (patch)
treefc67052e4c634fc0e2b472c5635a20864bb28315 /ld
parent54406786f038c753b797ec273b41ec7ebccb3024 (diff)
downloadgdb-b5f076d4aaa8c2efc3fca762e3fc3b01c313aacf.zip
gdb-b5f076d4aaa8c2efc3fca762e3fc3b01c313aacf.tar.gz
gdb-b5f076d4aaa8c2efc3fca762e3fc3b01c313aacf.tar.bz2
* configure.tgt (powerpc-*-aix*): New target; use aixppc.
(rs6000-*-aix*): New target; use aixrs6. * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. * emultempl/aix.em: New file. * scripttempl/aix.sc: New file. * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. (eaixppc.c, eaixrs6.c): New targets.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog17
-rw-r--r--ld/Makefile.in18
-rw-r--r--ld/emulparams/.Sanitize2
-rw-r--r--ld/emulparams/aixppc.sh4
-rw-r--r--ld/emulparams/aixrs6.sh4
-rw-r--r--ld/emultempl/.Sanitize1
-rw-r--r--ld/scripttempl/.Sanitize1
7 files changed, 43 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3996312..3a8a546 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,20 @@
+Mon Oct 16 19:11:13 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * emultempl/elf32.em: Struct bfd_elf_link_needed_list is now named
+ bfd_link_needed-list; make appropriate changes.
+
+ * configure.tgt (powerpc-*-aix*): New target; use aixppc.
+ (rs6000-*-aix*): New target; use aixrs6.
+ * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files.
+ * emultempl/aix.em: New file.
+ * scripttempl/aix.sc: New file.
+ * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o.
+ (eaixppc.c, eaixrs6.c): New targets.
+
+Fri Oct 13 14:00:37 1995 steve chamberlain <sac@slash.cygnus.com>
+
+ * scripttemp/pe.sc (.reloc): Move to the end.
+
Tue Oct 10 17:53:22 1995 Ian Lance Taylor <ian@cygnus.com>
* ldlang.c (lang_finish): Don't try to use an entry_symbol from a
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 24045e6..0fb7f4b 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -141,7 +141,7 @@ CC_FOR_TARGET = ` \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CC); \
else \
- echo gcc | sed $(program_transform_name); \
+ echo gcc | sed '$(program_transform_name)'; \
fi; \
fi`
@@ -157,7 +157,7 @@ CXX_FOR_TARGET = ` \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(CXX); \
else \
- echo gcc | sed $(program_transform_name); \
+ echo gcc | sed '$(program_transform_name)'; \
fi; \
fi`
@@ -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 \
+ eaixppc.o eaixrs6.o
CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
@@ -481,12 +482,21 @@ earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
${GENSCRIPTS} armaoutb
+earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} armcoff
ez8001.c: $(srcdir)/emulparams/z8001.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
${GENSCRIPTS} z8001
ez8002.c: $(srcdir)/emulparams/z8002.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
${GENSCRIPTS} z8002
+eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
+ $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} aixppc
+eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
+ $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} aixrs6
# start-sanitize-arc
earcelf.c: $(srcdir)/emulparams/arcelf.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
@@ -797,7 +807,7 @@ install:
for f in ldscripts/*; do \
$(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
done
- -n=`echo ld | sed $(program_transform_name)`; \
+ -n=`echo ld | sed '$(program_transform_name)'`; \
rm -f $(tooldir)/bin/ld; \
ln $(bindir)/$$n $(tooldir)/bin/ld >/dev/null 2>/dev/null \
|| $(INSTALL_PROGRAM) ld.new $(tooldir)/bin/ld
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index 19dcb23..59ef7cd 100644
--- a/ld/emulparams/.Sanitize
+++ b/ld/emulparams/.Sanitize
@@ -41,6 +41,8 @@ Things-to-keep:
README
a29k.sh
+aixppc.sh
+aixrs6.sh
alpha.sh
armaoutb.sh
armaoutl.sh
diff --git a/ld/emulparams/aixppc.sh b/ld/emulparams/aixppc.sh
new file mode 100644
index 0000000..f92e686
--- /dev/null
+++ b/ld/emulparams/aixppc.sh
@@ -0,0 +1,4 @@
+TEMPLATE_NAME=aix
+SCRIPT_NAME=aix
+OUTPUT_FORMAT="aixcoff-rs6000"
+ARCH=powerpc
diff --git a/ld/emulparams/aixrs6.sh b/ld/emulparams/aixrs6.sh
new file mode 100644
index 0000000..733c3f7
--- /dev/null
+++ b/ld/emulparams/aixrs6.sh
@@ -0,0 +1,4 @@
+TEMPLATE_NAME=aix
+SCRIPT_NAME=aix
+OUTPUT_FORMAT="aixcoff-rs6000"
+ARCH=rs6000
diff --git a/ld/emultempl/.Sanitize b/ld/emultempl/.Sanitize
index e57e332..960a1ce 100644
--- a/ld/emultempl/.Sanitize
+++ b/ld/emultempl/.Sanitize
@@ -25,6 +25,7 @@ Do-first:
Things-to-keep:
README
+aix.em
elf32.em
generic.em
gld960.em
diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize
index f6d360a..72e6719 100644
--- a/ld/scripttempl/.Sanitize
+++ b/ld/scripttempl/.Sanitize
@@ -33,6 +33,7 @@ Things-to-keep:
README
a29k.sc
+aix.sc
alpha.sc
armaout.sc
armcoff.sc