Silence -Wunused-variable in release builds.
[llvm/stm8.git] / test / MC / ELF / noexec.s
blobc4b7d9851b9306b158390872fbe5ab2ec10225ad
1 // RUN: llvm-mc -mc-no-exec-stack -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
3 // CHECK: # Section 0x00000004
4 // CHECK-NEXT: (('sh_name', 0x0000000c) # '.note.GNU-stack'
5 // CHECK-NEXT: ('sh_type', 0x00000001)
6 // CHECK-NEXT: ('sh_flags', 0x00000000)
7 // CHECK-NEXT: ('sh_addr', 0x00000000)
8 // CHECK-NEXT: ('sh_offset', 0x00000040)
9 // CHECK-NEXT: ('sh_size', 0x00000000)
10 // CHECK-NEXT: ('sh_link', 0x00000000)
11 // CHECK-NEXT: ('sh_info', 0x00000000)
12 // CHECK-NEXT: ('sh_addralign', 0x00000001)
13 // CHECK-NEXT: ('sh_entsize', 0x00000000)
14 // CHECK-NEXT: ),
16 // CHECK: # Symbol 0x00000004
17 // CHECK-NEXT: (('st_name', 0x00000000) # ''
18 // CHECK-NEXT: ('st_bind', 0x00000000)
19 // CHECK-NEXT: ('st_type', 0x00000003)
20 // CHECK-NEXT: ('st_other', 0x00000000)
21 // CHECK-NEXT: ('st_shndx', 0x00000004)
22 // CHECK-NEXT: ('st_value', 0x0000000000000000)
23 // CHECK-NEXT: ('st_size', 0x0000000000000000)
24 // CHECK-NEXT: ),