bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/16566] Please provide a way to include static symbols in linker


From: nickc at redhat dot com
Subject: [Bug ld/16566] Please provide a way to include static symbols in linker map file
Date: Tue, 02 May 2023 11:18:10 +0000

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

--- Comment #7 from Nick Clifton <nickc at redhat dot com> ---
(In reply to jon from comment #6)
> Not sure why, but with the new patch, the addition of the condition:
> 
>     && bfd_link_hash_lookup (link_info.hash,
>                                              bfd_asymbol_name (sym), false,
>                                              false, true) == NULL
> 
> Seems to prevent the output of the symbols (functions / data when using
> -flto) that I'm interested in.

Hmmm.  That test is designed to catch local symbols which have already been 
displayed by the normal linker-map-symbol-displaying code.  (eg
__GLOBAL_OFFSET_TABLE__).

Can you give me a specific example of a symbol which is suppressed by this
check, but which should not be ?  (A small test case would be ideal...)

-- 
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]