* configure.tgt (powerpc-*-aix*): New target; use aixppc.
authorIan Lance Taylor <ian@airs.com>
Mon, 16 Oct 1995 23:19:04 +0000 (23:19 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 16 Oct 1995 23:19:04 +0000 (23:19 +0000)
(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.

ld/ChangeLog
ld/Makefile.in
ld/emulparams/.Sanitize
ld/emulparams/aixppc.sh [new file with mode: 0644]
ld/emulparams/aixrs6.sh [new file with mode: 0644]
ld/emultempl/.Sanitize
ld/scripttempl/.Sanitize

index 3996312349cd00d585bc851a580b10771927413a..3a8a54676d47e1b6aea6821adb7f4e65a0863771 100644 (file)
@@ -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
index 24045e6cf3537824deca115f41a08c7247b52da1..0fb7f4b3b2aedd17b73994619f85148c5f8e6c02 100644 (file)
@@ -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
index 19dcb23aa056ecce829e76c783dbd5dc1695a8e1..59ef7cd8ee55cbdd29770a8979dd055ab7615f3d 100644 (file)
@@ -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 (file)
index 0000000..f92e686
--- /dev/null
@@ -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 (file)
index 0000000..733c3f7
--- /dev/null
@@ -0,0 +1,4 @@
+TEMPLATE_NAME=aix
+SCRIPT_NAME=aix
+OUTPUT_FORMAT="aixcoff-rs6000"
+ARCH=rs6000
index e57e332819d61874e75e2a8c2fd999b8d23b6744..960a1ce6512a6c5a0330f68f508702f1240aaf53 100644 (file)
@@ -25,6 +25,7 @@ Do-first:
 Things-to-keep:
 
 README
+aix.em
 elf32.em
 generic.em
 gld960.em
index f6d360a82afa8fdf6aac4d1ef9a3af76ba1b64b2..72e67199ce9769700420fc6ae68ba2ddf431520f 100644 (file)
@@ -33,6 +33,7 @@ Things-to-keep:
 
 README
 a29k.sc
+aix.sc
 alpha.sc
 armaout.sc
 armcoff.sc