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
13 # OBJ-NEXT: Type: SHT_PROGBITS
16 # OBJ-NEXT: SHF_GNU_RETAIN
19 .section retain,"aR",@progbits