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