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, ARM/ld]Linker should return with error if failed to merge arch attribute


On 15/09/14 08:46, Matthew Fortune wrote:
> Terry Guo <flameroc@gmail.com> writes:
>> terguo01@terry-pc01:case$ arm-none-eabi-readelf -A test.elf
>> Attribute Section: aeabi
>> File Attributes
>> Segmentation fault (core dumped)
> 
> Isn't this a bug in readelf? I would have thought all the inspection
> tools (objdump/readelf) should be able to report about inconsistent
> information rather than crash?
> 
> Matthew
> 

Probably there's *also* a bug in readelf.  Recovering from corrupt
binaries is quite a hard problem to test, though, since there are many
ways in which a binary can be invalid.

R.


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