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: [PATCH] Disallow copy relocation against protected data symbol


On Thu, Aug 24, 2017 at 09:13:15AM -0700, H.J. Lu wrote:
> property.  This patch adds a bit to elf_link_hash_entry and elf_obj_tdata

Why is def_protected needed?  Surely it is wrong to record the
visibility of a symbol that may not even be the final definition?
Why not just use visibility directly?

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