[RFC] BFD sets wrong start address during format detection
Alan Modra
amodra@bigpond.net.au
Wed Nov 23 11:43:00 GMT 2005
More information about the Binutils mailing list
Wed Nov 23 11:43:00 GMT 2005
- Previous message (by thread): [RFC] BFD sets wrong start address during format detection
- Next message (by thread): Fwd: Building of binutils fails
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Nov 23, 2005 at 11:26:22AM +0100, Frederic RISS wrote: > I first thought that BFD misdetected my file as being elf32-sh64 which > does sign extension. In fact, the file was correctly detected as > elf32-shl, but in the process of testing the binary, the entry point > address of the struct bfd* was overwritten during the elf32-sh64 backend > test that happened afterwards. > The attached patch fixes this issue for me. It moves the entry point > recording down after the last point of failure, so that it's done only > when the backend actually matches the file. > Does that seem safe ? Looks good. Applying. -- Alan Modra IBM OzLabs - Linux Technology Centre
- Previous message (by thread): [RFC] BFD sets wrong start address during format detection
- Next message (by thread): Fwd: Building of binutils fails
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list