xref: /netbsd-src/external/gpl3/binutils/dist/ld/emulparams/elf32microblaze.sh (revision dd255ccea4286b0c44fa8fd48a9a19a768afe8e1)
1SCRIPT_NAME=elfmicroblaze
2OUTPUT_FORMAT="elf32-microblaze"
3#TEXT_START_ADDR=0
4NONPAGED_TEXT_START_ADDR=0x28
5ALIGNMENT=4
6MAXPAGESIZE=4
7ARCH=microblaze
8EMBEDDED=yes
9
10NOP=0x80000000
11
12# Hmmm, there's got to be a better way.  This sets the stack to the
13# top of the simulator memory (2^19 bytes).
14#PAGE_SIZE=0x1000
15#DATA_ADDR=0x10000
16#OTHER_RELOCATING_SECTIONS='.stack 0x7000 : { _stack = .; *(.stack) }'
17#$@{RELOCATING+ PROVIDE (__stack = 0x7000);@}
18#OTHER_RELOCATING_SECTIONS='PROVIDE (_stack = _end + 0x1000);'
19
20TEMPLATE_NAME=elf32
21#GENERATE_SHLIB_SCRIPT=yes
22
23
24