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: Issue with v2.25 on OS/2


> On 07 Jan 2015, at 08:25, Paul Smedley <paul@smedley.id.au> wrote:
> 
> Hi again,
> 
> Paul Smedley <paul <at> smedley.id.au> writes:
> 
>> Tristan Gingold <gingold <at> adacore.com> writes:
>> 
>>> Ok.  Check the set of BFD_JUMP_TABLE_ARCHIVE entries in your bfd_target.
>>> Debugging shouldn't be very difficult, set a breakpoint on archives.c:
>>> _bfd_compute_and_write_armap, and see which write_armap is called.
>> 
>> coff_write_armap is being called - which I guess explains the wrong header.
>> 
>> BFD_JUMP_TABLE_ARCHIVE is being set from aout-target.h
> 
> I modified aout-target.h to force BFD_JUMP_TABLE_ARCHIVE to 
> BFD_JUMP_TABLE_ARCHIVE(_bfd_archive_bsd) for OS/2, unfortunately it didn't 
> help :(

Then set a breakpoint in coff_write_armap to understand why it is called.
Maybe the bfd_target is not the one you expect.


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