[PATCH v2 4/5] LoongArch: Add DT_RELR support
mengqinggang
mengqinggang@loongson.cn
Thu Jun 27 07:27:17 GMT 2024
> @@ -2036,6 +2466,14 @@ loongarch_elf_late_size_sections (bfd *output_bfd,
> s->reloc_count = 0;
> }
> }
> + else if (s == htab->elf.srelrdyn && htab->relr_count == 0)
> + {
> + /* Remove .relr.dyn based on relr_count, not size, since
> + it is not sized yet. */
> + s->flags |= SEC_EXCLUDE;
Two extra spaces are indented.
> + /* Allocate contents later. */
> + continue;
Two extra spaces are indented.
> + }
More information about the Binutils
mailing list