mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-09 18:01:50 +01:00
14 lines
413 B
Diff
14 lines
413 B
Diff
See riscv-pie.patch
|
|
|
|
--- a/bfd/elf64-s390.c
|
|
+++ b/bfd/elf64-s390.c
|
|
@@ -2953,7 +2953,7 @@ elf_s390_relocate_section (bfd *output_bfd,
|
|
|| r_type == R_390_PC32DBL
|
|
|| r_type == R_390_PC64
|
|
|| !bfd_link_pic (info)
|
|
- || !SYMBOLIC_BIND (info, h)
|
|
+ || !(bfd_link_pie (info) || SYMBOLIC_BIND (info, h))
|
|
|| !h->def_regular))
|
|
{
|
|
outrel.r_info = ELF64_R_INFO (h->dynindx, r_type);
|