aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-05-02 02:09:20 +0000
committerSteve Chamberlain <sac@cygnus>1992-05-02 02:09:20 +0000
commit0fdf9f815be3e0b964460e86883c0dc721aea16f (patch)
tree529758b17ba95ffc92acc347e6e9e58b8d7b57ef
parentfe3e4dfcfd69bdce50c3d9cede20ce3612b8a2f5 (diff)
downloadgdb-0fdf9f815be3e0b964460e86883c0dc721aea16f.zip
gdb-0fdf9f815be3e0b964460e86883c0dc721aea16f.tar.gz
gdb-0fdf9f815be3e0b964460e86883c0dc721aea16f.tar.bz2
More 29200 stuff
-rw-r--r--ld/config/sa29200.mt1
-rwxr-xr-xld/sa29200.sc-sh24
-rwxr-xr-xld/sa29200.sh6
-rwxr-xr-xld/saber17
4 files changed, 48 insertions, 0 deletions
diff --git a/ld/config/sa29200.mt b/ld/config/sa29200.mt
new file mode 100644
index 0000000..112d81f
--- /dev/null
+++ b/ld/config/sa29200.mt
@@ -0,0 +1 @@
+EMUL=sa29200
diff --git a/ld/sa29200.sc-sh b/ld/sa29200.sc-sh
new file mode 100755
index 0000000..ede39d6
--- /dev/null
+++ b/ld/sa29200.sc-sh
@@ -0,0 +1,24 @@
+cat <<EOF
+OUTPUT_FORMAT("${OUTPUT_FORMAT}")
+ENTRY(start)
+
+SECTIONS {
+ .text ${RELOCATING+${TEXT_START_ADDR}} :
+ {
+ *(.text);
+ ${RELOCATING+_etext = .};
+ }
+ data . :
+ {
+ *(.data);
+ ${RELOCATING+_edata = .};
+ ${CONSTRUCTING+CONSTRUCTORS}
+ }
+ .bss . :
+ {
+ *(COMMON)
+ *(.bss)
+ ${RELOCATING+_end = .};
+ }
+}
+EOF
diff --git a/ld/sa29200.sh b/ld/sa29200.sh
new file mode 100755
index 0000000..96b2846
--- /dev/null
+++ b/ld/sa29200.sh
@@ -0,0 +1,6 @@
+EMULATION_NAME=sa29200
+SCRIPT_NAME=sa29200
+OUTPUT_FORMAT="coff-a29k-big"
+TEXT_START_ADDR=0x40004000
+PAGE_SIZE=0x1000
+ARCH=a29k
diff --git a/ld/saber b/ld/saber
new file mode 100755
index 0000000..c2f38f4
--- /dev/null
+++ b/ld/saber
@@ -0,0 +1,17 @@
+load -I. ld__a29k.c
+load -I. ld__h8300hms.c
+load -I. ld__lnk960.c
+load -I. ld__sun3.c
+load -I. ldlex.c
+load -I. ld__ebmon29k.c
+load -I. ld__h8300xray.c
+load -I. ld__m88kbcs.c
+load -I. ld__sun4.c
+load -I. ld__gld960.c
+load -I. ld__hp300bsd.c
+load -I. ld__news.c
+load -I. ld__vanilla.c
+load -I. ld__go32.c
+load -I. ld__i386aout.c
+load -I. ld__st2000.c
+load -I. ldgram.c