bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20828] [MIPS] produces invalid dynamic symbol table when --gc-se


From: james410 at cowgill dot org.uk
Subject: [Bug ld/20828] [MIPS] produces invalid dynamic symbol table when --gc-sections is used since PR ld/13177 fix
Date: Thu, 24 Nov 2016 17:58:30 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20828

--- Comment #7 from James Cowgill <james410 at cowgill dot org.uk> ---
(In reply to Maciej W. Rozycki from comment #6)
> Do we need to have these hidden symbols in the dynsym table at all in
> the first place?  It looks like unnecessary clutter to me, they won't
> ever be used for anything as their references have been gc-ed.  Or am
> I missing anything -- can someone confirm my conclusion or contradict
> it by providing a use case?

Possibly not, although it looks like a generic issue - these symbols appear
when the test is run on x86_64.

> If we do need these symbols in the dynsym table, then I think we just
> need to set GGA_NONE for them correctly as they're being hidden and the
> existing dynsym index selection code will DTRT.

I don't think doing this will ensure they always appear before the other
GGA_NONE global symbols.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]