[Patch bfd/mach-o] implement bfd_get_arch_size for mach-o.
Alan Modra
amodra@gmail.com
Tue Feb 21 01:02:00 GMT 2012
More information about the Binutils mailing list
Tue Feb 21 01:02:00 GMT 2012
- Previous message (by thread): [Patch bfd/mach-o] implement bfd_get_arch_size for mach-o.
- Next message (by thread): [Patch gas/mach-o] Generate relocs for local subtractions.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Feb 20, 2012 at 05:41:23PM +0100, Tristan Gingold wrote:
>
> On Feb 17, 2012, at 10:09 PM, Iain Sandoe wrote:
>
> > without this we (eventually, several patches away) end up with nonsense when processing cfi directives.
>
> Ok from a Mach-O point of view. I wonder why we cannot use this generic code for all flavors.
> Just remove the parenthesis around abfd.
You could do that if you check all uses of bfd_get_arch_size. I think
there is only one that might matter, in nm.c, and that could be fixed
to use:
static void
set_print_width (bfd *file)
{
print_width = bfd_get_arch_size (file);
if (print_width < 32)
print_width = 32;
}
--
Alan Modra
Australia Development Lab, IBM
- Previous message (by thread): [Patch bfd/mach-o] implement bfd_get_arch_size for mach-o.
- Next message (by thread): [Patch gas/mach-o] Generate relocs for local subtractions.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list