elf32rx.sh revision 1.6
1MACHINE= 2SCRIPT_NAME=elf 3OUTPUT_FORMAT="elf32-rx-le" 4# See also `include/elf/rx.h' 5TEXT_START_ADDR=0x10000000 6ARCH=rx 7ENTRY=_start 8EMBEDDED=yes 9TEMPLATE_NAME=elf32 10EXTRA_EM_FILE=rxelf 11# EXTRA_EM_FILE=needrelax 12ELFSIZE=32 13MAXPAGESIZE=256 14 15STACK_ADDR="(DEFINED(__stack) ? __stack : 0xbffffffc)" 16STACK_SENTINEL="LONG(0xdeaddead)" 17# We do not need .stack for shared library. 18test -n "$CREATE_SHLIB" && unset STACK_ADDR 19 20OTHER_TEXT_SECTIONS='*(P)' 21OTHER_READONLY_SECTIONS='C_1 : { *(C_1) } C_2 : { *(C_2) } C : { *(C) } W_1 : { *(W_1) } W_2 : { *(W_2) } W : { *(W) }' 22OTHER_READWRITE_SECTIONS='D_1 : { *(D_1) } D_2 : { *(D_2) } D : { *(D) }' 23OTHER_BSS_SECTIONS='B_1 : { *(B_1) } B_2 : { *(B_2) } B : { *(B) }' 24