1# Check section containing code and data with permission executable for the section. 2@ RUN: llvm-mc -triple armv7-none-linux -filetype=obj -o %t.o %p/Inputs/1.s 3@ RUN: llvm-readobj -elf-output-style=GNU -symbols %t.o | FileCheck %s 4 5# Check section containing code and data with no permissions for the section. 6@ RUN: llvm-mc -triple armv7-none-linux -filetype=obj -o %t.o %p/Inputs/2.s 7@ RUN: llvm-readobj -elf-output-style=GNU -symbols %t.o | FileCheck %s 8 9# Check section containing code and data with read/write permissions for the section. 10@ RUN: llvm-mc -triple armv7-none-linux -filetype=obj -o %t.o %p/Inputs/3.s 11@ RUN: llvm-readobj -elf-output-style=GNU -symbols %t.o | FileCheck %s 12 13# Check section containing data with no permissions for the section. 14@ RUN: llvm-mc -triple armv7-none-linux -filetype=obj -o %t.o %p/Inputs/4.s 15@ RUN: llvm-readobj -elf-output-style=GNU -symbols %t.o | FileCheck %s -check-prefix=MAPPINGSYMBOLS 16 17# Check section containing only data with read/write permissions for the section. 18@ RUN: llvm-mc -triple armv7-none-linux -filetype=obj -o %t.o %p/Inputs/5.s 19@ RUN: llvm-readobj -elf-output-style=GNU -symbols %t.o | FileCheck %s -check-prefix=MAPPINGSYMBOLS 20 21# Check section containing the ident string with no permissions for the section. 22@ RUN: llvm-mc -triple armv7-none-linux -filetype=obj -o %t.o %p/Inputs/ident.s 23@ RUN: llvm-readobj -elf-output-style=GNU -symbols %t.o | FileCheck %s -check-prefix=MAPPINGSYMBOLS 24 25# Check section containing the attributes with no permissions for the section. 26@ RUN: llvm-mc -triple armv7-none-linux -filetype=obj -o %t.o %p/Inputs/attr.s 27@ RUN: llvm-readobj -elf-output-style=GNU -symbols %t.o | FileCheck %s -check-prefix=MAPPINGSYMBOLS 28 29# Check section containing code and data with no permissions for the section. 30# data comes before code. 31@ RUN: llvm-mc -triple armv7-none-linux -filetype=obj -o %t.o %p/Inputs/6.s 32@ RUN: llvm-readobj -elf-output-style=GNU -symbols %t.o | FileCheck %s -check-prefix=MIX 33 34# Check section containing code and data with no permissions for the section. 35# data comes before code. 36@ RUN: llvm-mc -triple armv7-none-linux -filetype=obj -o %t.o %p/Inputs/7.s 37@ RUN: llvm-readobj -elf-output-style=GNU -symbols %t.o | FileCheck %s 38 39#CHECK: $a 40#CHECK: $d 41 42#MIX: $a 43#MIX: $a 44#MIX: $d 45#MIX: $d 46 47#MAPPINGSYMBOLS-NOT: $a 48#MAPPINGSYMBOLS-NOT: $d 49