Alpha-linux linker segmentation fault
authorAlan Modra <amodra@gmail.com>
Tue, 28 May 2019 05:36:47 +0000 (15:06 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 28 May 2019 05:41:54 +0000 (15:11 +0930)
commit28fbeab8064f97ca5fe1a851fdc4146b7aed8863
tree644c09485ce3f4a601a76864f12f19378a27e9b0
parenta0f6fd217fa53ab80a335fb69f12f1f28ac3335a
Alpha-linux linker segmentation fault

This patch cures a linker segfault, and "FAIL: Build pr22263-1".

PR 24596
* elf64-alpha.c (elf64_alpha_relocate_section): Don't attempt
to emit R_ALPHA_GOTTPREL in PIEs, for which no space is
allocated in alpha_dynamic_entries_for_reloc.
bfd/ChangeLog
bfd/elf64-alpha.c