aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/note-1.t
blob: 031fe820ead6dca44bb1a31180474529e819a45d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ENTRY(_entry)
PHDRS
{
  data PT_LOAD;
  note PT_NOTE;
}
SECTIONS
{
  . = 0x1000000;
  .foo : { *(.foo) } :data
  . = 0x2000000;
  .note : { *(.note) } :note
  /DISCARD/ : { *(*) }
}