Apply patch from Mumit Khan to fix bugs generating dll names.
[deliverable/binutils-gdb.git] / ld / emulparams / armelf.sh
index 8389f4d7eecb957e030b24c553222a0f83ca568c..8c79b6495dafcb7abe716051754387b15501350d 100644 (file)
@@ -1,10 +1,16 @@
-# 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
+TEXT_START_ADDR=0x8000
+TEMPLATE_NAME=armelf
+OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7)'
+OTHER_BSS_SYMBOLS='__bss_start__ = .;'
+OTHER_BSS_END_SYMBOLS='_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;'
+
+GENERATE_SHLIB_SCRIPT=yes
+
 ARCH=arm
 MACHINE=
 MAXPAGESIZE=256
@@ -14,4 +20,3 @@ 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
This page took 0.023075 seconds and 4 git commands to generate.