aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-07-09 08:45:29 +0000
committerAlan Modra <amodra@gmail.com>2000-07-09 08:45:29 +0000
commit4900fc0695949d2c616c78553893e6cfbcac73aa (patch)
tree2652d2a9016dea2ab82df6807467c092e52d2b43 /ld/emulparams
parentad1079af05c5820e0f4e9d1ba24d30c03bff98f6 (diff)
downloadgdb-4900fc0695949d2c616c78553893e6cfbcac73aa.zip
gdb-4900fc0695949d2c616c78553893e6cfbcac73aa.tar.gz
gdb-4900fc0695949d2c616c78553893e6cfbcac73aa.tar.bz2
hppaelf.em: Merge from elf32.em and implement multiple linker stubs.
Makefile.am: Re-enable ehppaelf.o, add ehppalinux.o configure.tgt: targ_emul=hppalinux for hppa*linux
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/hppaelf.sh2
-rw-r--r--ld/emulparams/hppalinux.sh10
2 files changed, 11 insertions, 1 deletions
diff --git a/ld/emulparams/hppaelf.sh b/ld/emulparams/hppaelf.sh
index 47b89ea..2cd06ac 100644
--- a/ld/emulparams/hppaelf.sh
+++ b/ld/emulparams/hppaelf.sh
@@ -1,7 +1,7 @@
SCRIPT_NAME=hppaelf
OUTPUT_FORMAT="elf32-hppa"
TEXT_START_ADDR=0x1000
-TARGET_PAGE_SIZE=4096
+TARGET_PAGE_SIZE=0x1000
ARCH=hppa
START="$START$"
TEMPLATE_NAME=hppaelf
diff --git a/ld/emulparams/hppalinux.sh b/ld/emulparams/hppalinux.sh
new file mode 100644
index 0000000..e82315f
--- /dev/null
+++ b/ld/emulparams/hppalinux.sh
@@ -0,0 +1,10 @@
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-hppa"
+TEXT_START_ADDR=0x1000
+TARGET_PAGE_SIZE=0x1000
+MAXPAGESIZE=0x1000
+ARCH=hppa
+NOP=0x08000240
+START="_start"
+TEMPLATE_NAME=hppaelf
+DATA_START_SYMBOLS='$global$ = .;'