Keep the .drectve section when performing a relocateable link.

PR 29900
	* scripttempl/pe.sc: Keep the .drectve section when performing a
	relocateable link.
	* scripttempl/pep.sc: Likewise.
This commit is contained in:
Nick Clifton 2022-12-21 10:23:08 +00:00
parent 9c19e9ec4d
commit a7a32d588f
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2022-12-21 Nick Clifton <nickc@redhat.com>
PR 29900
* scripttempl/pe.sc: Keep the .drectve section when performing a
relocateable link.
* scripttempl/pep.sc: Likewise.
2022-12-08 Nick Clifton <nickc@redhat.com>
PR 29861

View File

@ -203,7 +203,7 @@ SECTIONS
*(.debug\$S)
*(.debug\$T)
*(.debug\$F)
*(.drectve)
${RELOCATING+ *(.drectve)}
${RELOCATING+ *(.note.GNU-stack)}
${RELOCATING+ *(.gnu.lto_*)}
}

View File

@ -208,7 +208,7 @@ SECTIONS
*(.debug\$S)
*(.debug\$T)
*(.debug\$F)
*(.drectve)
${RELOCATING+ *(.drectve)}
${RELOCATING+ *(.note.GNU-stack)}
${RELOCATING+ *(.gnu.lto_*)}
}