binutils-gdb/ld/testsuite/ld-arc/got-01.s
Cupertino Miranda c02d11a585 Fix segfault in ARC linker when generating got entries for local symbols.
bfd	* arc-got.h (relocate_fix_got_relocs_for_got_info): Handle the case
	where there's no elf_link_hash_entry while processing GOT_NORMAL got
	entries.

ld	* testsuite/ld-arc/got-01.d: New file.
	* testsuite/ld-arc/got-01.s: New file.
2016-07-22 15:10:31 +01:00

6 lines
85 B
ArmAsm

.text
.global __start
__start:
foo:
ld r0, [pcl, foo@gotpc]