From: Ian Lance Taylor Date: Mon, 16 Oct 1995 23:19:04 +0000 (+0000) Subject: * configure.tgt (powerpc-*-aix*): New target; use aixppc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5f076d4aaa8c2efc3fca762e3fc3b01c313aacf;p=binutils-gdb.git * 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 3996312349c..3a8a54676d4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,20 @@ +Mon Oct 16 19:11:13 1995 Ian Lance Taylor + + * 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 + + * scripttemp/pe.sc (.reloc): Move to the end. + Tue Oct 10 17:53:22 1995 Ian Lance Taylor * 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 24045e6cf35..0fb7f4b3b2a 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 19dcb23aa05..59ef7cd8ee5 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 00000000000..f92e686dd6d --- /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 00000000000..733c3f7ab0f --- /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 e57e332819d..960a1ce6512 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 f6d360a82af..72e67199ce9 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