This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [PATCH, ARM/ld]Linker should return with error if failed to merge arch attribute
- From: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- To: Terry Guo <flameroc at gmail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 15 Sep 2014 07:46:00 +0000
- Subject: RE: [PATCH, ARM/ld]Linker should return with error if failed to merge arch attribute
- Authentication-results: sourceware.org; auth=none
- References: <CAGbRaL5Z0iGviNi9aE8vixs7sDFemR4AyjnrMbb2c5Tb7eM-KA at mail dot gmail dot com>
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