[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / section-gnu.s
blobcb4fc9d3d2b5c9ac671863acacc5fa0881ad44b3
1 # REQUIRES: aarch64-registered-target
2 # RUN: llvm-mc -triple=x86_64 %s | FileCheck %s --check-prefix=ASM
3 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s | llvm-readobj -hS - | FileCheck %s --check-prefixes=GNU,OBJ
4 # RUN: llvm-mc -filetype=obj -triple=aarch64-freebsd %s | llvm-readobj -hS - | FileCheck %s --check-prefixes=FREEBSD,OBJ
6 # ASM: .section retain,"aR",@progbits
8 ## ELFOSABI_NONE is changed to ELFOSABI_GNU. Other OSABI values are unchanged.
9 # GNU: OS/ABI: GNU/Linux
10 # FREEBSD: OS/ABI: FreeBSD
12 # OBJ: Name: retain
13 # OBJ-NEXT: Type: SHT_PROGBITS
14 # OBJ-NEXT: Flags [
15 # OBJ-NEXT: SHF_ALLOC
16 # OBJ-NEXT: SHF_GNU_RETAIN
17 # OBJ-NEXT: ]
19 .section retain,"aR",@progbits