Add .debug_gdb_scripts section to PE linker scripts.

PR ld/21459
	* scripttempl/pe.sc: Add .debug_gdb_scripts section.
	* scripttempl/pep.sc: Likewise.
This commit is contained in:
Nick Clifton 2017-05-15 13:12:49 +01:00
parent fba2af917d
commit 786e3eba79
3 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2017-05-15 Nick Clifton <nickc@redhat.com>
PR ld/21459
* scripttempl/pe.sc: Add .debug_gdb_scripts section.
* scripttempl/pep.sc: Likewise.
2017-05-12 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-i386/i386.exp: Run property-x86-3.

View File

@ -402,5 +402,15 @@ SECTIONS
{
*(.zdebug_types${RELOCATING+ .gnu.linkonce.wt.*})
}
/* For Go and Rust. */
.debug_gdb_scripts ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} :
{
*(.debug_gdb_scripts)
}
.zdebug_gdb_scripts ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} :
{
*(.zdebug_gdb_scripts)
}
}
EOF

View File

@ -415,5 +415,15 @@ SECTIONS
{
*(.zdebug_types${RELOCATING+ .zdebug.gnu.linkonce.wt.*})
}
/* For Go and Rust. */
.debug_gdb_scripts ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} :
{
*(.debug_gdb_scripts)
}
.zdebug_gdb_scripts ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} :
{
*(.zdebug_gdb_scripts)
}
}
EOF