2003-10-09 H.J. Lu <hongjiu.lu@intel.com>

* scripttempl/elf.sc (__executable_start): Provide.
This commit is contained in:
H.J. Lu 2003-10-10 01:36:36 +00:00
parent f3efb16c92
commit c6d3b05fe7
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2003-10-09 H.J. Lu <hongjiu.lu@intel.com>
* scripttempl/elf.sc (__executable_start): Provide.
2003-10-09 Daniel Jacobowitz <drow@mvista.com>
* emulparams/armelf.sh: Define NO_SMALL_DATA.

View file

@ -182,7 +182,7 @@ ${RELOCATING- /* For some reason, the Solaris linker makes bad executables
SECTIONS
{
/* Read-only sections, merged into text segment: */
${CREATE_SHLIB-${CREATE_PIE-${RELOCATING+. = ${TEXT_BASE_ADDRESS};}}}
${CREATE_SHLIB-${CREATE_PIE-${RELOCATING+PROVIDE (__executable_start = ${TEXT_START_ADDR}); . = ${TEXT_BASE_ADDRESS};}}}
${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
${CREATE_PIE+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
${CREATE_SHLIB-${INTERP}}