forked from Imagelibrary/binutils-gdb
When using linker scripts, place linker-generated sections by the output section name.
2016-12-12 Igor Kudrin <ikudrin@accesssoftek.com> Cary Coutant <ccoutant@gmail.com> gold/ PR gold/14676 * script-sections.cc (Output_section_definition::output_section_name): For linker-generated sections, compare with output section name. * testsuite/Makefile.am (script_test_13): New test. * testsuite/Makefile.in: Regenerate. * testsuite/script_test_13.c: New source file. * testsuite/script_test_13.sh: New script. * testsuite/script_test_13.t: New linker script.
This commit is contained in:
7
gold/testsuite/script_test_13.t
Normal file
7
gold/testsuite/script_test_13.t
Normal file
@@ -0,0 +1,7 @@
|
||||
SECTIONS
|
||||
{
|
||||
.text 0 : { *(.text) }
|
||||
|
||||
.rela.dyn 0x10000 : { *(.rela.init) }
|
||||
.rel.dyn 0x10000 : { *(.rela.init) }
|
||||
}
|
||||
Reference in New Issue
Block a user