summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/ld/emulparams
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-11-23 04:12:06 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-11-23 04:12:06 +0000
commit37d4621bd4a912b6a032bc21906f7032e602cbf2 (patch)
tree6e6f3dad18baebc5f90abdcbbf4a8ba242555627 /gnu/usr.bin/binutils/ld/emulparams
parentfb7c7a778840ea235dd0bb550cfd2e2ac8ccb37c (diff)
Merge to Cygnus 961112 + add some support (not ready) for shared libs
Diffstat (limited to 'gnu/usr.bin/binutils/ld/emulparams')
-rw-r--r--gnu/usr.bin/binutils/ld/emulparams/elf32b4300.sh4
-rw-r--r--gnu/usr.bin/binutils/ld/emulparams/elf32l4300.sh4
-rw-r--r--gnu/usr.bin/binutils/ld/emulparams/sparcaout.sh2
3 files changed, 8 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/ld/emulparams/elf32b4300.sh b/gnu/usr.bin/binutils/ld/emulparams/elf32b4300.sh
index c7bf4b64f4e..147ec2d5086 100644
--- a/gnu/usr.bin/binutils/ld/emulparams/elf32b4300.sh
+++ b/gnu/usr.bin/binutils/ld/emulparams/elf32b4300.sh
@@ -6,8 +6,10 @@ TEXT_START_ADDR=0xa0020000
DATA_ADDR=.
MAXPAGESIZE=0x40000
OTHER_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
+OTHER_GOT_SYMBOLS='
+ _gp = ALIGN(16) + 0x7ff0;
+'
OTHER_READWRITE_SECTIONS='
- _gp = . + 0x8000;
.lit8 : { *(.lit8) }
.lit4 : { *(.lit4) }
'
diff --git a/gnu/usr.bin/binutils/ld/emulparams/elf32l4300.sh b/gnu/usr.bin/binutils/ld/emulparams/elf32l4300.sh
index a72a5cc9e12..fdf31b134e3 100644
--- a/gnu/usr.bin/binutils/ld/emulparams/elf32l4300.sh
+++ b/gnu/usr.bin/binutils/ld/emulparams/elf32l4300.sh
@@ -6,8 +6,10 @@ TEXT_START_ADDR=0xa0020000
DATA_ADDR=.
MAXPAGESIZE=0x40000
OTHER_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
+OTHER_GOT_SYMBOLS='
+ _gp = ALIGN(16) + 0x7ff0;
+'
OTHER_READWRITE_SECTIONS='
- _gp = . + 0x8000;
.lit8 : { *(.lit8) }
.lit4 : { *(.lit4) }
'
diff --git a/gnu/usr.bin/binutils/ld/emulparams/sparcaout.sh b/gnu/usr.bin/binutils/ld/emulparams/sparcaout.sh
index 5e01c28e57d..429b925c18c 100644
--- a/gnu/usr.bin/binutils/ld/emulparams/sparcaout.sh
+++ b/gnu/usr.bin/binutils/ld/emulparams/sparcaout.sh
@@ -1,5 +1,7 @@
SCRIPT_NAME=aout
OUTPUT_FORMAT="a.out-sunos-big"
+BIG_OUTPUT_FORMAT="a.out-sunos-big"
+LITTLE_OUTPUT_FORMAT="a.out-sparc-little"
TEXT_START_ADDR=0x2020
TARGET_PAGE_SIZE=0x2000
NONPAGED_TEXT_START_ADDR=0x2000