aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1997-10-23 07:43:44 +0000
committerRichard Henderson <rth@redhat.com>1997-10-23 07:43:44 +0000
commit639da7eb77434da02097781e75b9f54bdcae2b73 (patch)
treecb06e6678a5b866e6d4602732ea9cea7be244d32
parent82785278c187d51384c96be7cd9bf90609304284 (diff)
downloadgdb-639da7eb77434da02097781e75b9f54bdcae2b73.zip
gdb-639da7eb77434da02097781e75b9f54bdcae2b73.tar.gz
gdb-639da7eb77434da02097781e75b9f54bdcae2b73.tar.bz2
* configure.tgt: Add sparc64-*-linux*.
* emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.tgt6
-rw-r--r--ld/emulparams/elf64_sparc.sh9
3 files changed, 20 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d470450..76a94b9 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 23 00:44:20 1997 Richard Henderson <rth@dot.cygnus.com>
+
+ * configure.tgt: Add sparc64-*-linux*.
+ * emulparams/elf64_sparc.sh (GENERATE_SHLIB_SCRIPT, NOP): New.
+
Wed Oct 22 11:29:25 1997 Ian Lance Taylor <ian@cygnus.com>
* scripttempl/pe.sc: Put .eh_frame in .rdata.
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 1df274c..9337924 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -31,6 +31,12 @@ sparc*-*-linux*aout*) targ_emul=sparclinux
tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'`
tdir_sun4=sparc-sun-sunos4
;;
+sparc64-*-linux*) targ_emul=elf64_sparc
+ targ_extra_emuls="elf32_sparc sparclinux sun4"
+ tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
+ tdir_sparclinux=${tdir_elf32_sparc}aout
+ tdir_sun4=sparc-sun-sunos4
+ ;;
sparc*-*-linux*) targ_emul=elf32_sparc
targ_extra_emuls="sparclinux sun4"
tdir_sparclinux=${targ_alias}aout
diff --git a/ld/emulparams/elf64_sparc.sh b/ld/emulparams/elf64_sparc.sh
new file mode 100644
index 0000000..dda8f91
--- /dev/null
+++ b/ld/emulparams/elf64_sparc.sh
@@ -0,0 +1,9 @@
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf64-sparc"
+TEXT_START_ADDR=0x100200
+MAXPAGESIZE=0x100000
+NONPAGED_TEXT_START_ADDR=0x100200
+ARCH="sparc:v9"
+MACHINE=
+GENERATE_SHLIB_SCRIPT=yes
+NOP=0x01000000