aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/subalign.t
blob: 36ee259de1910b90020cea9c50e4aca3e4956978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SECTIONS
{
    . = 0x10024;

    .mysection1 : SUBALIGN(4) {
        *(.mysection1)
    }

    .mysection2 : ALIGN(16) {
        *(.mysection2)
    }
  
    .mysection3 : {
        *(.mysection3)
    }
  
    /DISCARD/ : {
      *(*)
    }
}