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: Support VER_FLG_INFO in readelf


Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:

> 2010-02-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
>
> 	include:
> 	* elf/common.h (VER_FLG_INFO): Define.
>
> 	gold:
> 	* dynobj.h (Verdef::Verdef): Add is_info arg, is_info member
> 	function, is_info_ member.
> 	* dynobj.cc (Verdef::write): Set VER_FLG_INFO if this->is_info_.
> 	(Versions::Versions): Update caller.
> 	(Versions::define_base_version): Likewise.
> 	(Versions::add_def): Likewise.
>
> 	elfcpp:
> 	* elfcpp.h (VER_FLG_INFO): Define.
>
> 	binutils:
> 	* readelf.c (get_ver_flags): Handle VER_FLG_INFO.

I suppose the changes to elfcpp and gold are OK.  They seem kind of
useless, though, since the is_info_ field will never be set to true.
What would you expect to cause that field to be true?

Please do verify that the code compiles before committing it.

Thanks.

Ian


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