|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/18223] _init/_fini dropped with --gc-sections |
Date: | Fri, 10 Apr 2015 01:03:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18223 --- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alan Modra <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6166ed9330a9afd41859d5a716cb9019c338a8ca commit 6166ed9330a9afd41859d5a716cb9019c338a8ca Author: Alan Modra <address@hidden> Date: Thu Apr 9 18:38:03 2015 +0930 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. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |