[PATCH v2] gas/ELF: don't accumulate .type settings

Alan Modra amodra@gmail.com
Mon Jul 8 05:42:00 GMT 2019

On Wed, Jul 03, 2019 at 08:05:48AM +0000, Jan Beulich wrote:
> 	* config/obj-elf.c (obj_elf_type): Check for conflicts between
> 	old and new types.
> 	* config/tc-hppa.h (md_elf_symbol_type_change): New.
> 	* doc/as.texi: Mention warning behavior for the ELF flavor of
> 	.type.
> 	* testsuite/gas/elf/type-2.e, testsuite/gas/elf/type-2.l,
> 	testsuite/gas/elf/type-2.s: New.
> 	* testsuite/gas/elf/elf.exp: Run new test.

aarch64_be-linux-gnu_ilp32  +FAIL: elf type-2 list
aarch64-linux  +FAIL: elf type-2 list
nds32be-elf  +FAIL: elf type-2 list
nds32le-linux  +FAIL: elf type-2 list
rl78-elf  +FAIL: elf type-2 list

Plus a large number of mips-sgi-irix6 tests, all due to "symbol ..
already has its type set" warnings.

Alan Modra
Australia Development Lab, IBM

More information about the Binutils mailing list