bde6f3eb6d
bfd/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11133 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for undefined __start_XXX/__stop_XXX in all input files and set SEC_KEEP. ld/testsuite/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11133 * ld-gc/gc.exp: Run start. * ld-gc/start.d: New. * ld-gc/start.s: Likewise.
8 lines
129 B
Makefile
8 lines
129 B
Makefile
#name: --gc-sections with __start_
|
|
#ld: --gc-sections -e _start
|
|
#nm: -n
|
|
#target: *-*-linux*
|
|
|
|
#...
|
|
[0-9a-f]+ A +__start__foo
|
|
#...
|