[PATCH] Add string representation of ELF e_flags for AVR.
Thu Dec 4 23:49:00 GMT 2014
On Tue, Dec 02, 2014 at 09:05:04AM +0000, Andrew Burgess wrote:
> * Andrew Burgess <firstname.lastname@example.org> [2014-11-24 11:29:10 +0000]:
> > Adds a string representation of the ELF e_flags field for AVR in
> > readelf output, like lots of other targets.
> > OK to apply?
> > Thanks,
> > Andrew
> > ---
> > binutils/ChangeLog:
> > * readelf.c (decode_AVR_machine_flags): New function.
> > (get_machine_flags): Add EM_AVR case.
OK. I'll note that strncat in this case seems overkill. You have a
1024 char buffer of which you're using a max of 28 or so.
Australia Development Lab, IBM
More information about the Binutils