[GOLD] PR24853, OSABI not set when STT_GNU_IFUNC or STB_GNU_UNIQUE symbols output

Alan Modra amodra@gmail.com
Wed Oct 16 03:07:00 GMT 2019


On Thu, Oct 03, 2019 at 08:45:29AM +0930, Alan Modra wrote:
> 	PR 24853
> 	* symtab.h (set_has_gnu_output, has_gnu_output_): New.
> 	* symtab.cc (Symbol_table::Symbol_table): Init has_gnu_output_.
> 	(Symbol_table::finalize): Set ELFOSABI_GNU when has_gnu_output_.
> 	(Symbol_table::set_dynsym_indexes, Symbol_table::sized_finalize):
> 	Call set_has_gnu_output for STT_GNU_IFUNC and STB_GNU_UNIQUE globals.
> 	* object.cc (Sized_relobj_file::do_finalize_local_symbols): Call
> 	set_has_gnu_output when STT_GNU_IFUNC locals will be output.

Ping?

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list