aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1998-07-31 21:14:19 +0000
committerCatherine Moore <clm@redhat.com>1998-07-31 21:14:19 +0000
commit6e723af99a0e337385285981b9510db5a60f4898 (patch)
treed5629eebf0680600cbb1abfa79df793c651deb5f /ld/emulparams
parentc2867a6c70fd06f14e5bcfe1aeb88a7bdcd4e273 (diff)
downloadgdb-6e723af99a0e337385285981b9510db5a60f4898.zip
gdb-6e723af99a0e337385285981b9510db5a60f4898.tar.gz
gdb-6e723af99a0e337385285981b9510db5a60f4898.tar.bz2
emulparams/armelf.sh: New file.
configure.tgt: Recognize thumb-elf and arm-elf. Makefile.am (earmelf.o): New. Makefile.in: Rebuild.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/armelf.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/emulparams/armelf.sh b/ld/emulparams/armelf.sh
new file mode 100644
index 0000000..8389f4d
--- /dev/null
+++ b/ld/emulparams/armelf.sh
@@ -0,0 +1,17 @@
+# start-sanitize-armelf
+MACHINE=
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-littlearm"
+BIG_OUTPUT_FORMAT="elf32-bigarm"
+LITTLE_OUTPUT_FORMAT="elf32-littlearm"
+TEXT_START_ADDR=0x0
+ARCH=arm
+MACHINE=
+MAXPAGESIZE=256
+ENTRY=_start
+EMBEDDED=yes
+
+# Hmmm, there's got to be a better way. This sets the stack to the
+# top of the simulator memory (2^19 bytes).
+OTHER_RELOCATING_SECTIONS='.stack 0x80000 : { _stack = .; *(.stack) }'
+# end-sanitize-armelf