Allow for compilers that do not produce aligned .rdat sections in PE format files.

PR 23872
	* scripttempl/pep.sc (pe.sc): Ensure rdata_runtime_pseudo_relocs
	are aligned.
	* scripttempl/pep.sc (pep.sc): Likewise.
This commit is contained in:
Marc
2018-11-09 11:13:50 +00:00
committed by Nick Clifton
parent 9325300dc2
commit 73af69e749
3 changed files with 9 additions and 0 deletions
+7
View File
@@ -1,3 +1,10 @@
2018-11-09 Marc <marc@groundctl.com>
PR 23872
* scripttempl/pep.sc (pe.sc): Ensure rdata_runtime_pseudo_relocs
are aligned.
* scripttempl/pep.sc (pep.sc): Likewise.
2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/config/default.exp (ELFEDIT): New.
+1
View File
@@ -161,6 +161,7 @@ SECTIONS
.rdata ${RELOCATING+BLOCK(__section_alignment__)} :
{
${R_RDATA}
. = ALIGN(4);
${RELOCATING+__rt_psrelocs_start = .;}
${RELOCATING+KEEP(*(.rdata_runtime_pseudo_reloc))}
${RELOCATING+__rt_psrelocs_end = .;}
+1
View File
@@ -161,6 +161,7 @@ SECTIONS
.rdata ${RELOCATING+BLOCK(__section_alignment__)} :
{
${R_RDATA}
. = ALIGN(4);
${RELOCATING+__rt_psrelocs_start = .;}
${RELOCATING+KEEP(*(.rdata_runtime_pseudo_reloc))}
${RELOCATING+__rt_psrelocs_end = .;}