diff options
author | Nick Clifton <nickc@redhat.com> | 2022-12-21 10:23:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-12-21 10:23:08 +0000 |
commit | a7a32d588f29466221f5b4d421d0fc0a652dae48 (patch) | |
tree | 9ec43fec3beb0ba6282e5e31965347ca171705e1 /ld/scripttempl/pep.sc | |
parent | 9c19e9ec4df225ed9e75ba4c839d6da08e23dd4a (diff) | |
download | gdb-a7a32d588f29466221f5b4d421d0fc0a652dae48.zip gdb-a7a32d588f29466221f5b4d421d0fc0a652dae48.tar.gz gdb-a7a32d588f29466221f5b4d421d0fc0a652dae48.tar.bz2 |
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.
Diffstat (limited to 'ld/scripttempl/pep.sc')
-rw-r--r-- | ld/scripttempl/pep.sc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc index f8fa743..cb404eb 100644 --- a/ld/scripttempl/pep.sc +++ b/ld/scripttempl/pep.sc @@ -208,7 +208,7 @@ SECTIONS *(.debug\$S) *(.debug\$T) *(.debug\$F) - *(.drectve) + ${RELOCATING+ *(.drectve)} ${RELOCATING+ *(.note.GNU-stack)} ${RELOCATING+ *(.gnu.lto_*)} } |