forked from Imagelibrary/binutils-gdb
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:
@@ -203,7 +203,7 @@ SECTIONS
|
||||
*(.debug\$S)
|
||||
*(.debug\$T)
|
||||
*(.debug\$F)
|
||||
*(.drectve)
|
||||
${RELOCATING+ *(.drectve)}
|
||||
${RELOCATING+ *(.note.GNU-stack)}
|
||||
${RELOCATING+ *(.gnu.lto_*)}
|
||||
}
|
||||
|
||||
@@ -208,7 +208,7 @@ SECTIONS
|
||||
*(.debug\$S)
|
||||
*(.debug\$T)
|
||||
*(.debug\$F)
|
||||
*(.drectve)
|
||||
${RELOCATING+ *(.drectve)}
|
||||
${RELOCATING+ *(.note.GNU-stack)}
|
||||
${RELOCATING+ *(.gnu.lto_*)}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user