1145479Smp# If you change this file, please also look at files which source this one: 259243Sobrien# elf32microblazeel.sh 359243SobrienSCRIPT_NAME=elfmicroblaze 459243SobrienBIG_OUTPUT_FORMAT="elf32-microblaze" 559243SobrienLITTLE_OUTPUT_FORMAT="elf32-microblazeel" 659243SobrienOUTPUT_FORMAT=$BIG_OUTPUT_FORMAT 759243Sobrien#TEXT_START_ADDR=0 859243SobrienNONPAGED_TEXT_START_ADDR=0x28 959243SobrienALIGNMENT=4 1059243SobrienMAXPAGESIZE=4 1159243SobrienARCH=microblaze 1259243SobrienEMBEDDED=yes 1359243Sobrien 1459243SobrienNOP=0x80000000 1559243Sobrien 1659243Sobrien# Hmmm, there's got to be a better way. This sets the stack to the 17100616Smp# top of the simulator memory (2^19 bytes). 1859243Sobrien#DATA_ADDR=0x10000 1959243Sobrien#OTHER_RELOCATING_SECTIONS='.stack 0x7000 : { _stack = .; *(.stack) }' 2059243Sobrien#$@{RELOCATING+ PROVIDE (__stack = 0x7000);@} 2159243Sobrien#OTHER_RELOCATING_SECTIONS='PROVIDE (_stack = _end + 0x1000);' 2259243Sobrien 2359243SobrienTEMPLATE_NAME=elf 2459243Sobrien#GENERATE_SHLIB_SCRIPT=yes 2559243Sobrien 2659243Sobrien 2759243Sobrien