aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-01-23 19:00:46 +0000
committerIan Lance Taylor <ian@airs.com>1995-01-23 19:00:46 +0000
commitc1e128e5a1740919504feecc31255b149cbeedd7 (patch)
tree143675b102d3c391ca577517fe53c5957e786617 /ld
parente18ecf7a78851a97f9100e8b8c84b27ffb347154 (diff)
downloadfsf-binutils-gdb-c1e128e5a1740919504feecc31255b149cbeedd7.zip
fsf-binutils-gdb-c1e128e5a1740919504feecc31255b149cbeedd7.tar.gz
fsf-binutils-gdb-c1e128e5a1740919504feecc31255b149cbeedd7.tar.bz2
* configure.in (i[345]86-*-gnu*): Set ld_target to i386-gnu.
* config/i386-gnu.mt: New file. Include ELF support.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog15
-rw-r--r--ld/config/.Sanitize1
-rw-r--r--ld/config/i386-gnu.mt2
-rw-r--r--ld/configure.in8
4 files changed, 24 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f95b2bb..86d0317 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize
index 6ba1528..6fafb72 100644
--- a/ld/config/.Sanitize
+++ b/ld/config/.Sanitize
@@ -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
index 0000000..f1e21a9
--- /dev/null
+++ b/ld/config/i386-gnu.mt
@@ -0,0 +1,2 @@
+EMUL=i386mach
+EMUL_EXTRA1=elf_i386
diff --git a/ld/configure.in b/ld/configure.in
index 398dadd..42ca520 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -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 ;;