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

Message ID 20220108183838.1920397-2-hjl.tools@gmail.com
State Not applicable
Headers
Series ld: Implement DT_RELR for x86 |

Checks

Context Check Description
dj/TryBot-apply_patch fail Patch failed to apply to master at the time it was sent

Commit Message

H.J. Lu Jan. 8, 2022, 6:38 p.m. UTC
  * elf.c (special_sections_r): Add .relr.dyn.
---
 bfd/elf.c | 1 +
 1 file changed, 1 insertion(+)
  

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 }