1 ## Check handling of SHF_GNU_RETAIN and SHF_SUNW_NODISCARD section flags.
3 # RUN: yaml2obj --docnum=1 %s -o %t1
4 # RUN: obj2yaml %t1 | FileCheck %s --check-prefix=GNU
6 # GNU: Name: .gnu.retain
7 # GNU-NEXT: Type: SHT_PROGBITS
8 # GNU-NEXT: Flags: [ SHF_GNU_RETAIN ]
18 Flags: [ SHF_GNU_RETAIN ]
20 # RUN: yaml2obj --docnum=2 %s -o %t2
21 # RUN: obj2yaml %t2 | FileCheck %s --check-prefix=SOLARIS
23 # SOLARIS: Name: .sunw.nodiscard
24 # SOLARIS-NEXT: Type: SHT_PROGBITS
25 # SOLARIS-NEXT: Flags: [ SHF_SUNW_NODISCARD ]
31 OSABI: ELFOSABI_SOLARIS
34 - Name: .sunw.nodiscard
36 Flags: [ SHF_SUNW_NODISCARD ]