aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1994-12-14 00:44:50 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1994-12-14 00:44:50 +0000
commit070ac727960de3a5aef5b6f4c01c24d83c30a1f4 (patch)
tree903cc23570a2dc10945aecf201f51fbe85062df4 /ld
parentb8b78f950dd1449768bcc430e2153379988a71e1 (diff)
downloadgdb-070ac727960de3a5aef5b6f4c01c24d83c30a1f4.zip
gdb-070ac727960de3a5aef5b6f4c01c24d83c30a1f4.tar.gz
gdb-070ac727960de3a5aef5b6f4c01c24d83c30a1f4.tar.bz2
Initial arc-elf support.
Diffstat (limited to 'ld')
-rw-r--r--ld/config/.Sanitize8
-rw-r--r--ld/config/arc-elf.mt1
-rw-r--r--ld/emulparams/.Sanitize8
3 files changed, 17 insertions, 0 deletions
diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize
index 47ae500..f9b7e89 100644
--- a/ld/config/.Sanitize
+++ b/ld/config/.Sanitize
@@ -15,6 +15,14 @@
Do-first:
+arc_files="arc-elf.mt"
+
+if ( echo $* | grep keep\-arc > /dev/null ) ; then
+ keep_these_too="${arc_files} ${keep_these_too}"
+else
+ lose_these_too="${arc_files} ${lose_these_too}"
+fi
+
rce_files="rce-aout.mt"
if ( echo $* | grep keep\-rce > /dev/null ) ; then
diff --git a/ld/config/arc-elf.mt b/ld/config/arc-elf.mt
new file mode 100644
index 0000000..474217d
--- /dev/null
+++ b/ld/config/arc-elf.mt
@@ -0,0 +1 @@
+EMUL=arcelf
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index fb1c82a..388c8be 100644
--- a/ld/emulparams/.Sanitize
+++ b/ld/emulparams/.Sanitize
@@ -15,6 +15,14 @@
Do-first:
+arc_files="arcelf.sh"
+
+if ( echo $* | grep keep\-arc > /dev/null ) ; then
+ keep_these_too="${arc_files} ${keep_these_too}"
+else
+ lose_these_too="${arc_files} ${lose_these_too}"
+fi
+
rce_files="rce.sh"
if ( echo $* | grep keep\-rce > /dev/null ) ; then