diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-elf/note-1.t')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-elf/note-1.t | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-elf/note-1.t b/binutils-2.21/ld/testsuite/ld-elf/note-1.t new file mode 100644 index 0000000..031fe82 --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-elf/note-1.t @@ -0,0 +1,14 @@ +ENTRY(_entry) +PHDRS +{ + data PT_LOAD; + note PT_NOTE; +} +SECTIONS +{ + . = 0x1000000; + .foo : { *(.foo) } :data + . = 0x2000000; + .note : { *(.note) } :note + /DISCARD/ : { *(*) } +} |