summaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-07-30 17:32:30 +0000
committerNick Clifton <nickc@redhat.com>2002-07-30 17:32:30 +0000
commit7e392df659f7ea9da6974d689b050ae5fa62b3c6 (patch)
tree645fc64dad3284807cd4fb680343acdd1b098452 /ld/emulparams
parent83e1617e0623da0e1d2a8a148087928f5fb83c4e (diff)
downloadbinutils-gdb-7e392df659f7ea9da6974d689b050ae5fa62b3c6.tar.gz
Add arm-*-nto port.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/armnto.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/emulparams/armnto.sh b/ld/emulparams/armnto.sh
new file mode 100644
index 00000000000..d000de3bb49
--- /dev/null
+++ b/ld/emulparams/armnto.sh
@@ -0,0 +1,24 @@
+MACHINE=
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-littlearm"
+BIG_OUTPUT_FORMAT="elf32-bigarm"
+LITTLE_OUTPUT_FORMAT="elf32-littlearm"
+TEXT_START_ADDR=0x00100000
+TEMPLATE_NAME=elf32
+EXTRA_EM_FILE=armelf
+OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7)'
+OTHER_BSS_SYMBOLS='__bss_start__ = .;'
+OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;'
+
+DATA_START_SYMBOLS='__data_start = . ;';
+
+GENERATE_SHLIB_SCRIPT=yes
+
+ARCH=arm
+MACHINE=
+MAXPAGESIZE=0x1000
+
+ENTRY=_start
+
+# This sets the stack to the top of the simulator memory (2^19 bytes).
+STACK_ADDR=0x80000