aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-01-03 05:51:05 -0800
committerH.J. Lu <hjl.tools@gmail.com>2022-01-12 05:14:26 -0800
commitfc07cf22c679002bb57e9259eca5dfd6891eb962 (patch)
tree2673c804fcfe202266c76b3ea6f470c6e01bda51 /bfd/elf.c
parent643b126809e945e02420d78fd1ef0e3cef195cc3 (diff)
downloadgdb-fc07cf22c679002bb57e9259eca5dfd6891eb962.zip
gdb-fc07cf22c679002bb57e9259eca5dfd6891eb962.tar.gz
gdb-fc07cf22c679002bb57e9259eca5dfd6891eb962.tar.bz2
elf: Add .relr.dyn to special_sections_r
* elf.c (special_sections_r): Add .relr.dyn.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 1003bd2..ef0d181 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2714,6 +2714,7 @@ static const struct bfd_elf_special_section special_sections_r[] =
{
{ STRING_COMMA_LEN (".rodata"), -2, SHT_PROGBITS, SHF_ALLOC },
{ STRING_COMMA_LEN (".rodata1"), 0, SHT_PROGBITS, SHF_ALLOC },
+ { STRING_COMMA_LEN (".relr.dyn"), 0, SHT_RELR, SHF_ALLOC },
{ STRING_COMMA_LEN (".rela"), -1, SHT_RELA, 0 },
{ STRING_COMMA_LEN (".rel"), -1, SHT_REL, 0 },
{ NULL, 0, 0, 0, 0 }