3 OUTPUT_FORMAT
="elf32-rx-le"
4 # See also `include/elf/rx.h'
5 TEXT_START_ADDR
=0x10000000
11 # EXTRA_EM_FILE=needrelax
14 # This is like setting STACK_ADDR to 0xbffffffc, except that the setting can
15 # be overridden, e.g. --defsym _stack=0x0f00, and that we put an extra
16 # sentinal value at the bottom.
17 # N.B. We can't use PROVIDE to set the default value in a symbol because
18 # the address is needed to place the .stack section, which in turn is needed
19 # to hold the sentinel value(s).
20 test -z "$CREATE_SHLIB" && OTHER_SECTIONS
=" .stack ${RELOCATING-0}${RELOCATING+(DEFINED(__stack) ? __stack : 0xbffffffc)} :
22 ${RELOCATING+__stack = .;}
26 # We do not need .stack for shared library.
27 test -n "$CREATE_SHLIB" && OTHER_SECTIONS
=""
29 OTHER_TEXT_SECTIONS
='*(P)'
30 OTHER_READONLY_SECTIONS
='C_1 : { *(C_1) } C_2 : { *(C_2) } C : { *(C) }'
31 OTHER_READWRITE_SECTIONS
='D_1 : { *(D_1) } D_2 : { *(D_2) } D : { *(D) }'
32 OTHER_BSS_SECTIONS
='B_1 : { *(B_1) } B_2 : { *(B_2) } B : { *(B) }'