Rebased: [Patch mach-o/gas] implement private file flags/subsections-via-symbols.

Tristan Gingold gingold@adacore.com
Thu Dec 15 11:44:00 GMT 2011
On Dec 15, 2011, at 12:34 PM, Iain Sandoe wrote:

> 
> On 15 Dec 2011, at 10:57, Tristan Gingold wrote:
>> 
>> I have just committed it.
> 
> well, between our iterations I seem to have messed up with a patch.
> the patch I posted was wrong - I must have diffed a wrong dependent tree, very sorry (I do build each time).
> Iain
> 
> this is needed …

Oh right.  I compiled for x86_64 which doesn't (yet) enable gas…

Committed with a CL entry.

Thank you for the head-up.

Tristan.

> 
> Index: gas/config/obj-macho.c
> ===================================================================
> RCS file: /cvs/src/src/gas/config/obj-macho.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 obj-macho.c
> --- gas/config/obj-macho.c	15 Dec 2011 10:56:47 -0000	1.4
> +++ gas/config/obj-macho.c	15 Dec 2011 11:29:47 -0000
> @@ -696,7 +696,7 @@ obj_mach_o_fileprop (int prop)
>   switch ((obj_mach_o_file_properties) prop)
>     {
>       case OBJ_MACH_O_FILE_PROP_SUBSECTS_VIA_SYMS:
> -        subsections_by_symbols = 1;
> +        obj_mach_o_subsections_by_symbols = 1;
> 	if (!bfd_set_private_flags (stdoutput,
> 				    BFD_MACH_O_MH_SUBSECTIONS_VIA_SYMBOLS))
> 	  as_bad (_("failed to set subsections by symbols"));
> 
> 
> 
> 



More information about the Binutils mailing list