Support tcl procedure calls in run_dump_test xfail
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / empty-aligned.t
1 SECTIONS
2 {
3 . = SIZEOF_HEADERS;
4 .text : { *(.text) }
5 /* Alignment at beginning shouldn't result in empty section being kept. */
6 .text1 ALIGN (4096) :
7 {
8 *(.text1)
9 }
10 /* Same for alignment at beginning and end, although we need to be
11 careful in the expression used to align. */
12 .text2 ALIGN (4096) :
13 {
14 *(.text2)
15 . = ALIGN (. != 0 ? 4096 : 1);
16 }
17 /* Same for alignment just at end. */
18 .text3 :
19 {
20 *(.text3)
21 . = ALIGN (. != 0 ? 4096 : 1);
22 }
23 /* Same when setting vma and lma. This also shouldn't result in
24 .text3 being kept. */
25 .text4 ADDR (.text3) + SIZEOF (.text3) + 8192 : AT (LOADADDR (.text3))
26 {
27 *(.text4)
28 }
29 /DISCARD/ : { *(*) }
30 }
This page took 0.05992 seconds and 4 git commands to generate.