mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* ld-scripts/dynamic-sections*: New test.
This commit is contained in:
11
ld/testsuite/ld-scripts/dynamic-sections.t
Normal file
11
ld/testsuite/ld-scripts/dynamic-sections.t
Normal file
@@ -0,0 +1,11 @@
|
||||
SECTIONS
|
||||
{
|
||||
.data : { *(.data) }
|
||||
.rodata : { *(.rodata) }
|
||||
|
||||
/* The .rel* sections are typically placed here, because of the way
|
||||
elf32.em handles orphaned sections. A bug introduced on 2002-06-10
|
||||
would cause . to be 0 at this point. */
|
||||
|
||||
_bar = ASSERT (. > 0, "Bad . value");
|
||||
}
|
||||
Reference in New Issue
Block a user