This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: makes --gc-sections compatible with -r/-q
On Tue, Jan 08, 2008 at 03:40:46PM +0100, Tristan Gingold wrote:
>
> On Jan 8, 2008, at 3:24 PM, Daniel Jacobowitz wrote:
>
>> What does it keep? In a linked object it's obvious which symbols are
>> externally visible.
>
> For partial link (-r), you should specify the root of symbols kept with
> the -e option.
> Sorry, I forgot to mention that.
Patch is definitely not OK without that in the manual.
--
Daniel Jacobowitz
CodeSourcery