|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/21571] --gc-sections doesn't work with PROVIDE in linker script |
Date: | Tue, 13 Jun 2017 00:16:13 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21571 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- ELF linker stores the first input section whose name matches __start_SECNAME or __stop_SECNAME in u.undef.section for garbage collection. If these symbols are provide in linker script, u.undef.section is set to the section where they will defined by linker script, which leads to the incorrect output. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |