diff options
author | Alan Modra <amodra@gmail.com> | 2015-04-09 18:38:03 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-04-10 10:27:03 +0930 |
commit | 6166ed9330a9afd41859d5a716cb9019c338a8ca (patch) | |
tree | 4efba2cc9b171965fb04abedbe0d86d013d5a482 /libiberty/putenv.c | |
parent | 4f0d8f2d9f95ae5620e70c8b490fe6f534ffd5ce (diff) | |
download | gdb-6166ed9330a9afd41859d5a716cb9019c338a8ca.zip gdb-6166ed9330a9afd41859d5a716cb9019c338a8ca.tar.gz gdb-6166ed9330a9afd41859d5a716cb9019c338a8ca.tar.bz2 |
Mark _init and _fini for --gc-sections
gold marks _init and _fini via symbol, ld marks them via section
(default scripts set .init and .fini section KEEP). This makes it
possible for people to write their own _init and not bother to put the
function into the right section.
PR ld/18223
* ldlang.c (lang_process): Add _init and _fini to gc_sym_list.
Diffstat (limited to 'libiberty/putenv.c')
0 files changed, 0 insertions, 0 deletions