* configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
authorIan Lance Taylor <ian@airs.com>
Mon, 23 Jan 1995 19:00:46 +0000 (19:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 23 Jan 1995 19:00:46 +0000 (19:00 +0000)
* config/i386-gnu.mt: New file.  Include ELF support.

ld/ChangeLog
ld/config/.Sanitize
ld/config/i386-gnu.mt [new file with mode: 0644]
ld/configure.in

index f95b2bbaa741a2a0fc9f0ea77b8c654ad9546fc9..86d0317a0c1795f2beb2d608d4578e2d2a380ef1 100644 (file)
@@ -1,3 +1,18 @@
+Mon Jan 23 13:58:13 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
+       * config/i386-gnu.mt: New file.  Include ELF support.
+
+Thu Jan 19 16:22:11 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): If
+       there are any input sections named .gnu.warning, treat them as
+       containing a warning message to be printed by the linker, and
+       clobber the size so that the message is not copied into the output
+       file.
+       * scripttempl/elf.sc: Put .gnu.warning sections into the .text
+       section.
+
 Sun Jan 15 16:45:00 1995  Steve Chamberlain  <sac@splat>
 
        * configure.in (w65-*-*): New target.
index 6ba1528ab852235b4cade16683de27eafc0c1432..6fafb72afaedbb2fd6fa79ee2cf2b3fdd4c97137 100644 (file)
@@ -61,6 +61,7 @@ i386-aout.mt
 i386-bsd.mt
 i386-coff.mt
 i386-elf.mt
+i386-gnu.mt
 i386-go32.mt
 i386-linux.mt
 i386-lynx.mt
diff --git a/ld/config/i386-gnu.mt b/ld/config/i386-gnu.mt
new file mode 100644 (file)
index 0000000..f1e21a9
--- /dev/null
@@ -0,0 +1,2 @@
+EMUL=i386mach
+EMUL_EXTRA1=elf_i386
index 398daddf036104037e87b3ee9d7001a4aa489525..42ca520e271f30d96d4ded8c3f2c44e0cc1e85a0 100644 (file)
@@ -40,6 +40,9 @@ do
 
 case "${targ}" in
 
+# start-sanitize-arc
+  arc-*-elf*)          ld_target=arc-elf ;;
+# end-sanitize-arc
   sparc-sun-sunos4*)   ld_target=sun4 ;;
   sparclite*-*-coff)   ld_target=coff-sparc ;;
   sparclite*-fujitsu-*) ld_target=sun4 ;;
@@ -79,7 +82,7 @@ case "${targ}" in
   i[345]86-*-elf*)     ld_target=i386-elf ;;
   i[345]86-*-sysv*)    ld_target=i386-coff ;;
   i[345]86-*-mach*)    ld_target=i386-mach ;;
-  i[345]86-*-gnu*)     ld_target=i386-mach ;;
+  i[345]86-*-gnu*)     ld_target=i386-gnu ;;
   m8*-*-*)             ld_target=m88k-bcs ;;
   a29k-*-udi)          ld_target=sa29200 ;;
   a29k-*-ebmon)                ld_target=ebmon29k ;;
@@ -90,7 +93,7 @@ case "${targ}" in
   h8500-*-hms)         ld_target=coff-h8500 ;;
   sh-*-*)              ld_target=coff-sh ;;
 # start-sanitize-rce
-  rce-*-*)             ld_target=rce-aout ;;
+  rce-*-aout)          ld_target=rce-aout ;;
 # end-sanitize-rce
   m68k-sony-*)         ld_target=news ;;
   m68k-hp-bsd*)                ld_target=hp300bsd ;;
@@ -119,6 +122,7 @@ case "${targ}" in
   ns32k-pc532-netbsd*)  ld_target=ns32k-nbsd ;;
   powerpc-*-elf*)      ld_target=ppc-elf32 ;;
   powerpc-*-netware*)  ld_target=ppc-nw ;;
+  w65-*-*)              ld_target=coff-w65 ;;
   *-*-aout)            ld_target=${target_cpu}-${target_vendor} ;;
   *-*-coff)            ld_target=${target_cpu}-${target_vendor} ;;
   *-*-netware)         ld_target=${target_cpu}-nw ;;