[PATCH] elf: Remove the 1-page gap before the RELRO segment

Nick Clifton nickc@redhat.com
Thu Jan 13 12:44:10 GMT 2022


Hi H.J.

> 	PR ld/28743
> 	* ldlang.c (lang_size_relro_segment_1): Remove the 1-page gap
> 	before the RELRO segment if the maximum page size >= the maximum
> 	section alignment.
> 	* testsuite/ld-i386/pr20830.d: Adjusted.
> 	* testsuite/ld-s390/gotreloc_64-relro-1.dd: Likewise.
> 	* testsuite/ld-x86-64/pr14207.d: Likewise.
> 	* testsuite/ld-x86-64/pr18176.d: Likewise.
> 	* testsuite/ld-x86-64/pr20830a-now.d: Likewise.
> 	* testsuite/ld-x86-64/pr20830a.d: Likewise.
> 	* testsuite/ld-x86-64/pr20830b-now.d: Likewise.
> 	* testsuite/ld-x86-64/pr20830b.d: Likewise.
> 	* testsuite/ld-x86-64/pr21038a-now.d: Likewise.
> 	* testsuite/ld-x86-64/pr21038a.d: Likewise.
> 	* testsuite/ld-x86-64/pr21038b-now.d: Likewise.
> 	* testsuite/ld-x86-64/pr21038c-now.d: Likewise.
> 	* testsuite/ld-x86-64/pr21038c.d: Likewise.

Approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list