1 // RUN
: llvm-mc
-filetype
=obj
-triple x86_64-pc-linux-gnu
%s
-o
%t
2 // RUN
: llvm-readobj
-S
%t | FileCheck
--check-prefix
=SECTIONS
%s
3 // RUN
: llvm-readobj
--symbols
%t | FileCheck
--check-prefix
=SYMBOLS
%s
5 // Test that we don
't create a .symtab_shndx since we are one section short of
6 // SHN_LORESERVE (0xFF00).
8 // SECTIONS-NOT: Name: .symtab_shndx
10 // Check the last referenced section.
13 // SYMBOLS: Value: 0x0
15 // SYMBOLS: Binding: Local (0x0)
16 // SYMBOLS: Type: Section (0x3)
18 // SYMBOLS: Section: zed (0xFEFF)
22 .macro gen_sections4 x
29 .macro gen_sections8 x
34 .macro gen_sections16 x
39 .macro gen_sections32 x
44 .macro gen_sections64 x
49 .macro gen_sections128 x
54 .macro gen_sections256 x
59 .macro gen_sections512 x
64 .macro gen_sections1024 x
69 .macro gen_sections2048 x
74 .macro gen_sections4096 x
79 .macro gen_sections8192 x
84 .macro gen_sections16384 x
89 .macro gen_sections32768 x