]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/elf/section10.s
Support ELF SHF_GNU_MBIND and PT_GNU_MBIND_XXX
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / elf / section10.s
CommitLineData
9fb71ee4
NC
1 # Test numeric values for the section's flags field.
2 .section sec1, "0x06000000"
3 .word 1
4
5 # Make sure that a numeric value can be mixed with alpha values.
6 .section sec2, "a2048x"
7 .word 2
8
9 # Make sure that specifying further arguments to .sections is still supported
a91e1603 10 .section sec3, "0xfefff000MS", %progbits, 32
9fb71ee4
NC
11 .word 3
12
13 # Make sure that extra flags can be set for well known sections as well.
14 .section .text, "0x04000006"
15 .word 4
16
17 # Test numeric values for the section's type field.
18 .section sec4, "ax", %0x60000011
19 .word 5
20
21 # Test both together, with a quoted type value.
a91e1603 22 .section sec5, "0xfeff0000", "0x80000009"
9fb71ee4
NC
23 .word 6
24
25 # Test that declaring an extended version of a known special section works.
26 .section .data.foo, "aw", %0xff000000
27 .word 7
28
29 # Check that .pushsection works as well.
30 .pushsection sec6, 2, "0x120004", %5678
31 .word 8
32
33 .popsection
34
35 # FIXME: We ought to check setting 64-bit flag values for 64-bit ELF targets...