xref: /openbsd-src/gnu/usr.bin/binutils/ld/emulparams/m32relf_linux.sh (revision cf2f2c5620d6d9a4fd01930983c4b9a1f76d7aa3)
1*cf2f2c56SmiodMACHINE=
2*cf2f2c56SmiodSCRIPT_NAME=elf
3*cf2f2c56SmiodTEMPLATE_NAME=elf32
4*cf2f2c56SmiodOUTPUT_FORMAT="elf32-m32r-linux"
5*cf2f2c56SmiodTEXT_START_ADDR=0x1000
6*cf2f2c56SmiodARCH=m32r
7*cf2f2c56SmiodMACHINE=
8*cf2f2c56SmiodMAXPAGESIZE=0x1000
9*cf2f2c56Smiod
10*cf2f2c56Smiod# Hmmm, there's got to be a better way.  This sets the stack to the
11*cf2f2c56Smiod# top of simulator memory (32MB).
12*cf2f2c56SmiodOTHER_RELOCATING_SECTIONS='PROVIDE (_stack = 0x2000000);'
13*cf2f2c56SmiodGENERATE_SHLIB_SCRIPT=yes
14