Stefan Liebler
44f1cd7f53
s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie
...
In static-pie case, there are IRELATIVE-relocs in
.rela.iplt (htab->irelplt), which will later be grouped
to .rela.plt. On s390, the IRELATIVE relocations are
always located in .rela.iplt - even for non-static case.
Ensure that DT_JMPREL, DT_PLTRELA, DT_PLTRELASZ is added
to the dynamic section even if htab->srelplt->size == 0.
See _bfd_elf_add_dynamic_tags in bfd/elflink.c.
bfd/
elf64-s390.c (elf_s390_size_dynamic_sections):
Enforce DT_JMPREL via htab->elf.dt_jmprel_required.
(cherry picked from commit d942d8db12
)
2022-04-28 14:54:50 +02:00
Stefan Liebler
e20961e9f9
s390: Avoid dynamic TLS relocs in PIE
...
No dynamic relocs are needed for TLS defined in an executable, the
TP relative offset is known at link time.
Fixes
FAIL: Build pr22263-1
bfd/
PR ld/22263
* elf64-s390.c (elf_s390_tls_transition): Use bfd_link_dll
instead of bfd_link_pic for TLS.
(elf_s390_check_relocs): Likewise.
(allocate_dynrelocs): Likewise.
(elf_s390_relocate_section): Likewise.
(cherry picked from commit 26b1426577
)
2022-04-28 14:54:50 +02:00
H.J. Lu
7c4b20b958
i386: Allow GOT32 relocations against ABS symbols
...
GOT32 relocations are allowed since absolute value + addend is stored in
the GOT slot.
Tested on glibc 2.35 build with GCC 11.2 and -Os.
bfd/
PR ld/28870
* elfxx-x86.c (_bfd_elf_x86_valid_reloc_p): Also allow GOT32
relocations.
ld/
PR ld/28870
* testsuite/ld-i386/i386.exp: Run pr28870.
* testsuite/ld-i386/pr28870.d: New file.
* testsuite/ld-i386/pr28870.s: Likewise.
(cherry picked from commit 30a954525f
)
2022-02-07 16:13:51 -08:00
GDB Administrator
5f62caec81
Automatic date update in version.in
2022-01-22 00:00:50 +00:00
GDB Administrator
544818c087
Automatic date update in version.in
2022-01-21 00:00:42 +00:00
GDB Administrator
589b6fc198
Automatic date update in version.in
2022-01-20 00:00:54 +00:00
GDB Administrator
3f4442ae83
Automatic date update in version.in
2022-01-19 00:00:55 +00:00
GDB Administrator
cf0ac00a84
Automatic date update in version.in
2022-01-18 00:00:43 +00:00
GDB Administrator
182284deb1
Automatic date update in version.in
2022-01-17 00:00:57 +00:00
GDB Administrator
f60dbe8d12
Automatic date update in version.in
2022-01-16 00:00:43 +00:00
GDB Administrator
1f5be5f22a
Automatic date update in version.in
2022-01-15 00:00:41 +00:00
GDB Administrator
6e072dd0f1
Automatic date update in version.in
2022-01-14 00:01:08 +00:00
GDB Administrator
eb31394c23
Automatic date update in version.in
2022-01-13 00:00:55 +00:00
GDB Administrator
ebadd3ef87
Automatic date update in version.in
2022-01-12 00:00:50 +00:00
GDB Administrator
d114d4e9bc
Automatic date update in version.in
2022-01-11 00:01:04 +00:00
GDB Administrator
22f9d25c97
Automatic date update in version.in
2022-01-10 00:00:52 +00:00
GDB Administrator
988b35012b
Automatic date update in version.in
2022-01-09 00:00:49 +00:00
GDB Administrator
119e9b2458
Automatic date update in version.in
2022-01-08 00:00:41 +00:00
GDB Administrator
2eb6f36dc7
Automatic date update in version.in
2022-01-07 00:00:49 +00:00
GDB Administrator
6b6f129692
Automatic date update in version.in
2022-01-06 00:00:58 +00:00
GDB Administrator
9bc6649d7b
Automatic date update in version.in
2022-01-05 00:00:50 +00:00
GDB Administrator
c198c877ab
Automatic date update in version.in
2022-01-04 00:00:49 +00:00
GDB Administrator
1e85b8e9ec
Automatic date update in version.in
2022-01-03 00:00:59 +00:00
GDB Administrator
e140b569e5
Automatic date update in version.in
2022-01-02 00:00:50 +00:00
GDB Administrator
0080033e29
Automatic date update in version.in
2022-01-01 00:00:48 +00:00
GDB Administrator
9113d6cff8
Automatic date update in version.in
2021-12-31 00:00:45 +00:00
GDB Administrator
d731b570f9
Automatic date update in version.in
2021-12-30 00:00:56 +00:00
GDB Administrator
bc6cd9525b
Automatic date update in version.in
2021-12-29 00:00:48 +00:00
GDB Administrator
0c5af9fb8f
Automatic date update in version.in
2021-12-28 00:00:33 +00:00
GDB Administrator
94b8bc9867
Automatic date update in version.in
2021-12-27 00:00:36 +00:00
GDB Administrator
e934dfff83
Automatic date update in version.in
2021-12-26 00:00:40 +00:00
GDB Administrator
541b1e2997
Automatic date update in version.in
2021-12-25 00:00:37 +00:00
GDB Administrator
be39f5ba30
Automatic date update in version.in
2021-12-24 00:00:38 +00:00
GDB Administrator
9137c2cb7c
Automatic date update in version.in
2021-12-23 00:00:59 +00:00
GDB Administrator
862d4c203e
Automatic date update in version.in
2021-12-22 00:00:45 +00:00
GDB Administrator
6e67642edc
Automatic date update in version.in
2021-12-21 00:00:46 +00:00
GDB Administrator
72a45cec0f
Automatic date update in version.in
2021-12-20 00:00:34 +00:00
GDB Administrator
446864d6d6
Automatic date update in version.in
2021-12-19 00:00:49 +00:00
GDB Administrator
25a297446c
Automatic date update in version.in
2021-12-18 00:00:34 +00:00
GDB Administrator
a2fbc5eec7
Automatic date update in version.in
2021-12-17 00:00:45 +00:00
GDB Administrator
0a18ced151
Automatic date update in version.in
2021-12-16 00:00:37 +00:00
GDB Administrator
b77f1b197a
Automatic date update in version.in
2021-12-15 00:00:50 +00:00
GDB Administrator
1fb4a5909e
Automatic date update in version.in
2021-12-14 00:00:34 +00:00
GDB Administrator
172e0da3ef
Automatic date update in version.in
2021-12-13 00:00:33 +00:00
GDB Administrator
d012e2bb91
Automatic date update in version.in
2021-12-12 00:00:28 +00:00
GDB Administrator
91cf5b0141
Automatic date update in version.in
2021-12-11 00:00:28 +00:00
GDB Administrator
cd7ce9337f
Automatic date update in version.in
2021-12-10 00:00:47 +00:00
GDB Administrator
3c082ab836
Automatic date update in version.in
2021-12-09 00:00:47 +00:00
GDB Administrator
aea7d932c8
Automatic date update in version.in
2021-12-08 00:00:39 +00:00
GDB Administrator
44d742f92d
Automatic date update in version.in
2021-12-07 00:00:37 +00:00