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 mach-o/GAS 1/3] support mach-o symbol qualifiers.


On Dec 30, 2011, at 9:23 PM, Iain Sandoe wrote:

> this patch-set provides support for the mach-o symbol qualifiers (.weak_reference, .private_extern &c.).
> 
> It makes most sense to apply the patch on top of [1] which provides the necessary support for the indirect symbols (although this patch will work without - the binaries would be non-conforming).
> 
> We try to intercept error conditions as early as possible (in the qualifier or frob_label code) so that we can give a better diagnostic.  However, final checks on compatibility of multiple qualifiers and defined/undefined are sometimes only feasible from frob_symbol.
> 
> The second patch in the set provides tests that work when this patch is applied in isolation.
> The third patch provides tests of the indirect symbol functionality that requires [1].
> 
> One should note that with this (and [1]) we are making fairly heavy use of the udata field in the bfd symbol.

Please give me more time for this one.  I really need to study obj_mach_o_make_indirect_symbol.

Tristan.


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