4153b6dbb0
PR ld/19803 * ldlang.c (lang_add_gc_name): New function. Adds the provided symbol name to the list of gc symbols. (lang_process): Call lang_add_gc_name with entry_symbol_default if entry_symbol.name is NULL. Use lang_add_gc_name to add the init and fini function names. * pe-dll.c (process_def_file_and_drectve): Add exported names to the gc symbol list. * testsuite/ld-pe/pr19803.s: Do not export _testval symbol. * testsuite/ld-pe/pr19803.d: Tweak expected output. |
||
---|---|---|
.. | ||
aligncomm-1.c | ||
aligncomm-2.c | ||
aligncomm-3.c | ||
aligncomm-4.c | ||
aligncomm.d | ||
basefile1.s | ||
cfi.d | ||
cfi32.d | ||
cfia.s | ||
cfib.s | ||
direct2_client.c | ||
direct2_dll.c | ||
direct2_dll.def | ||
direct_client.c | ||
direct_dll.c | ||
export_dynamic_warning.d | ||
export_dynamic_warning.s | ||
exports.d | ||
exports.s | ||
exports64.d | ||
image_size.d | ||
image_size.s | ||
image_size.t | ||
longsecn-1.d | ||
longsecn-2.d | ||
longsecn-3.d | ||
longsecn-4.d | ||
longsecn-5.d | ||
longsecn.d | ||
longsecn.s | ||
non-c-lang-syms.d | ||
non-c-lang-syms.s | ||
orphan.d | ||
orphan_nu.d | ||
orphana.s | ||
orphana_nu.s | ||
orphanb.s | ||
orphand.s | ||
orphane.s | ||
pe-compile.exp | ||
pe-run.exp | ||
pe-run2.exp | ||
pe.exp | ||
pr19803.d | ||
pr19803.e | ||
pr19803.s | ||
secrel.d | ||
secrel1.s | ||
secrel2.s | ||
secrel_64.d | ||
tlssec.s | ||
tlssec32.d | ||
tlssec64.d | ||
vers-script-1.d | ||
vers-script-1.ver | ||
vers-script-2.d | ||
vers-script-2.ver | ||
vers-script-3.d | ||
vers-script-3.ver | ||
vers-script-4.d | ||
vers-script-4.ver | ||
vers-script-dll.c |