[v2,1/9] elf: Add .relr.dyn to special_sections_r

Message ID 20220108183838.1920397-2-hjl.tools@gmail.com
State New
Headers show
Series
  • [v2,1/9] elf: Add .relr.dyn to special_sections_r
Related show

Commit Message

Adhemerval Zanella via Libc-alpha Jan. 8, 2022, 6:38 p.m.
* elf.c (special_sections_r): Add .relr.dyn.
---
 bfd/elf.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.33.1

Patch

diff --git a/bfd/elf.c b/bfd/elf.c
index 1003bd2cdbe..ef0d18105ba 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 }