summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/note-2.t
blob: a507da97a6b98875417a8b6d0b617c800fd5f821 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
ENTRY(_entry)
PHDRS
{
  data PT_LOAD;
  note PT_NOTE;
}
SECTIONS
{
  .text : { *(.text) } :data
  .foo : { *(.foo) } :data
  .note : { *(.note) } :note
  /DISCARD/ : { *(*) }
}