This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bfd/objcopy handling of localizing common symbols


On Fri, Oct 26, 2018 at 05:19:40PM -0700, Jordan Rupprecht via binutils wrote:
> objdump actually reports it as neither a global nor a local symbol.

The patch responsible for not setting BSF_GLOBAL on ELF common symbols
is git commit 42cf6d7950e.  I don't know why this was done but it
certainly didn't happen by accident.

Other places in objcopy.c that want to handle common symbols select
them with bfd_is_com_section (bfd_get_section (sym)).

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]