1 # Check that llvm-readobj shows arch specific ELF section flags.
3 # RUN: yaml2obj -docnum 1 %s > %t-hex.o
4 # RUN: llvm-readobj -S %t-hex.o | FileCheck -check-prefix=HEX %s
6 # HEX: Flags [ (0x10000000)
7 # HEX-NEXT: SHF_HEX_GPREL (0x10000000)
21 Flags: [SHF_HEX_GPREL]
24 # RUN: yaml2obj -docnum 2 %s > %t-mips.o
25 # RUN: llvm-readobj -S %t-mips.o | FileCheck -check-prefix=MIPS %s
27 # MIPS: Flags [ (0x38000000)
28 # MIPS-NEXT: SHF_MIPS_GPREL (0x10000000)
29 # MIPS-NEXT: SHF_MIPS_MERGE (0x20000000)
30 # MIPS-NEXT: SHF_MIPS_NOSTRIP (0x8000000)
44 Flags: [SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_NOSTRIP]
47 # RUN: yaml2obj -docnum 3 %s > %t-x86_64.o
48 # RUN: llvm-readobj -S %t-x86_64.o | FileCheck -check-prefix=X86_64 %s
50 # X86_64: Flags [ (0x10000000)
51 # X86_64-NEXT: SHF_X86_64_LARGE (0x10000000)
65 Flags: [SHF_X86_64_LARGE]