binutils-gdb/ld/testsuite/ld-elf/pr21903.s
H.J. Lu 2980ccad59 Move common symbol check after bed->common_definition
bfd/

	* elflink.c (elf_link_add_object_symbols): Move common symbol
	check after bed->common_definition.

ld/

	* testsuite/ld-elf/pr21903.s (start): Removed.
	(_start): Likewise.
	(__start): Likewise.
	(main): Likewise.
	(bar): New.
2017-08-07 08:02:29 -07:00

12 lines
109 B
ArmAsm

.text
.global bar
bar:
.byte 0
.data
.dc.a foo
.ifdef HPUX
foo .comm 4
.else
.comm foo, 4, 4
.endif