2018-06-27 00:58:19 +08:00
|
|
|
# REQUIRES: mips
|
2015-09-29 13:34:03 +08:00
|
|
|
# RUN: llvm-mc -filetype=obj -triple=mipsel-unknown-linux %s -o %t.o
|
2015-11-18 14:11:01 +08:00
|
|
|
# RUN: ld.lld %t.o -o %t.exe
|
2015-09-29 13:34:03 +08:00
|
|
|
# RUN: llvm-readobj -file-headers -sections -program-headers -symbols %t.exe \
|
|
|
|
# RUN: | FileCheck %s
|
|
|
|
|
|
|
|
# Exits with return code 1 on Linux.
|
|
|
|
.globl __start
|
|
|
|
__start:
|
|
|
|
li $a0,1
|
|
|
|
li $v0,4001
|
|
|
|
syscall
|
|
|
|
|
|
|
|
# CHECK: ElfHeader {
|
|
|
|
# CHECK-NEXT: Ident {
|
|
|
|
# CHECK-NEXT: Magic: (7F 45 4C 46)
|
|
|
|
# CHECK-NEXT: Class: 32-bit (0x1)
|
|
|
|
# CHECK-NEXT: DataEncoding: LittleEndian (0x1)
|
|
|
|
# CHECK-NEXT: FileVersion: 1
|
|
|
|
# CHECK-NEXT: OS/ABI: SystemV (0x0)
|
2018-02-23 19:28:57 +08:00
|
|
|
# CHECK-NEXT: ABIVersion: 1
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Unused: (00 00 00 00 00 00 00)
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Type: Executable (0x2)
|
|
|
|
# CHECK-NEXT: Machine: EM_MIPS (0x8)
|
|
|
|
# CHECK-NEXT: Version: 1
|
2015-10-14 02:50:28 +08:00
|
|
|
# CHECK-NEXT: Entry: 0x20000
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: ProgramHeaderOffset: 0x34
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: SectionHeaderOffset: 0x200A0
|
2015-12-19 13:51:49 +08:00
|
|
|
# CHECK-NEXT: Flags [
|
|
|
|
# CHECK-NEXT: EF_MIPS_ABI_O32
|
2016-07-21 04:15:24 +08:00
|
|
|
# CHECK-NEXT: EF_MIPS_ARCH_32
|
2015-12-19 13:51:49 +08:00
|
|
|
# CHECK-NEXT: EF_MIPS_CPIC
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK-NEXT: HeaderSize: 52
|
|
|
|
# CHECK-NEXT: ProgramHeaderEntrySize: 32
|
2017-01-17 05:17:23 +08:00
|
|
|
# CHECK-NEXT: ProgramHeaderCount: 5
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: SectionHeaderEntrySize: 40
|
2016-11-11 04:20:37 +08:00
|
|
|
# CHECK-NEXT: SectionHeaderCount: 11
|
|
|
|
# CHECK-NEXT: StringTableSectionIndex: 9
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Sections [
|
|
|
|
# CHECK-NEXT: Section {
|
|
|
|
# CHECK-NEXT: Index: 0
|
|
|
|
# CHECK-NEXT: Name: (0)
|
|
|
|
# CHECK-NEXT: Type: SHT_NULL (0x0)
|
|
|
|
# CHECK-NEXT: Flags [ (0x0)
|
|
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK-NEXT: Address: 0x0
|
|
|
|
# CHECK-NEXT: Offset: 0x0
|
|
|
|
# CHECK-NEXT: Size: 0
|
|
|
|
# CHECK-NEXT: Link: 0
|
|
|
|
# CHECK-NEXT: Info: 0
|
|
|
|
# CHECK-NEXT: AddressAlignment: 0
|
|
|
|
# CHECK-NEXT: EntrySize: 0
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Section {
|
|
|
|
# CHECK-NEXT: Index: 1
|
2016-11-10 05:36:56 +08:00
|
|
|
# CHECK-NEXT: Name: .MIPS.abiflags
|
|
|
|
# CHECK-NEXT: Type: SHT_MIPS_ABIFLAGS (0x7000002A)
|
2015-10-02 05:15:02 +08:00
|
|
|
# CHECK-NEXT: Flags [ (0x2)
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: SHF_ALLOC (0x2)
|
|
|
|
# CHECK-NEXT: ]
|
2017-01-17 05:17:23 +08:00
|
|
|
# CHECK-NEXT: Address: 0x100D8
|
|
|
|
# CHECK-NEXT: Offset: 0xD8
|
2015-10-02 05:15:02 +08:00
|
|
|
# CHECK-NEXT: Size: 24
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Link: 0
|
|
|
|
# CHECK-NEXT: Info: 0
|
2016-11-10 05:36:56 +08:00
|
|
|
# CHECK-NEXT: AddressAlignment: 8
|
2015-12-20 18:57:34 +08:00
|
|
|
# CHECK-NEXT: EntrySize: 24
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Section {
|
|
|
|
# CHECK-NEXT: Index: 2
|
2016-11-10 05:36:56 +08:00
|
|
|
# CHECK-NEXT: Name: .reginfo
|
|
|
|
# CHECK-NEXT: Type: SHT_MIPS_REGINFO (0x70000006)
|
2015-10-02 05:15:02 +08:00
|
|
|
# CHECK-NEXT: Flags [ (0x2)
|
|
|
|
# CHECK-NEXT: SHF_ALLOC (0x2)
|
|
|
|
# CHECK-NEXT: ]
|
2017-01-17 05:17:23 +08:00
|
|
|
# CHECK-NEXT: Address: 0x100F0
|
|
|
|
# CHECK-NEXT: Offset: 0xF0
|
2015-10-02 05:15:02 +08:00
|
|
|
# CHECK-NEXT: Size: 24
|
|
|
|
# CHECK-NEXT: Link: 0
|
|
|
|
# CHECK-NEXT: Info: 0
|
2016-11-10 05:36:56 +08:00
|
|
|
# CHECK-NEXT: AddressAlignment: 4
|
2016-08-12 14:28:49 +08:00
|
|
|
# CHECK-NEXT: EntrySize: 24
|
2015-10-02 05:15:02 +08:00
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Section {
|
|
|
|
# CHECK-NEXT: Index: 3
|
2016-11-02 05:26:28 +08:00
|
|
|
# CHECK-NEXT: Name: .text
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Type: SHT_PROGBITS (0x1)
|
|
|
|
# CHECK-NEXT: Flags [ (0x6)
|
|
|
|
# CHECK-NEXT: SHF_ALLOC (0x2)
|
|
|
|
# CHECK-NEXT: SHF_EXECINSTR (0x4)
|
|
|
|
# CHECK-NEXT: ]
|
2015-10-14 02:50:28 +08:00
|
|
|
# CHECK-NEXT: Address: 0x20000
|
2015-10-11 07:25:39 +08:00
|
|
|
# CHECK-NEXT: Offset: 0x10000
|
2016-05-04 21:21:06 +08:00
|
|
|
# CHECK-NEXT: Size: 12
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Link: 0
|
|
|
|
# CHECK-NEXT: Info: 0
|
|
|
|
# CHECK-NEXT: AddressAlignment: 16
|
|
|
|
# CHECK-NEXT: EntrySize: 0
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Section {
|
2015-10-02 05:15:02 +08:00
|
|
|
# CHECK-NEXT: Index: 4
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Name: .data
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Type: SHT_PROGBITS (0x1)
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Flags [ (0x3)
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: SHF_ALLOC (0x2)
|
|
|
|
# CHECK-NEXT: SHF_WRITE (0x1)
|
|
|
|
# CHECK-NEXT: ]
|
2015-11-04 06:08:08 +08:00
|
|
|
# CHECK-NEXT: Address: 0x30000
|
|
|
|
# CHECK-NEXT: Offset: 0x20000
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Size: 0
|
2016-04-12 21:21:13 +08:00
|
|
|
# CHECK-NEXT: Link: 0
|
|
|
|
# CHECK-NEXT: Info: 0
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: AddressAlignment: 16
|
2016-04-12 21:21:13 +08:00
|
|
|
# CHECK-NEXT: EntrySize: 0
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Section {
|
|
|
|
# CHECK-NEXT: Index: 5
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Name: .got
|
2016-04-12 21:21:13 +08:00
|
|
|
# CHECK-NEXT: Type: SHT_PROGBITS (0x1)
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Flags [ (0x10000003)
|
2016-04-12 21:21:13 +08:00
|
|
|
# CHECK-NEXT: SHF_ALLOC (0x2)
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: SHF_MIPS_GPREL (0x10000000)
|
2016-04-12 21:21:13 +08:00
|
|
|
# CHECK-NEXT: SHF_WRITE (0x1)
|
|
|
|
# CHECK-NEXT: ]
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Address: 0x30000
|
|
|
|
# CHECK-NEXT: Offset: 0x20000
|
|
|
|
# CHECK-NEXT: Size: 8
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Link: 0
|
|
|
|
# CHECK-NEXT: Info: 0
|
2017-01-17 05:17:23 +08:00
|
|
|
# CHECK-NEXT: AddressAlignment: 16
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: EntrySize: 0
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Section {
|
2016-04-12 21:21:13 +08:00
|
|
|
# CHECK-NEXT: Index: 6
|
|
|
|
# CHECK-NEXT: Name: .bss
|
2015-10-02 05:15:02 +08:00
|
|
|
# CHECK-NEXT: Type: SHT_NOBITS (0x8)
|
|
|
|
# CHECK-NEXT: Flags [ (0x3)
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: SHF_ALLOC (0x2)
|
2015-10-02 05:15:02 +08:00
|
|
|
# CHECK-NEXT: SHF_WRITE (0x1)
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: ]
|
2017-01-17 05:17:23 +08:00
|
|
|
# CHECK-NEXT: Address: 0x30010
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Offset: 0x20008
|
2015-10-02 05:15:02 +08:00
|
|
|
# CHECK-NEXT: Size: 0
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Link: 0
|
|
|
|
# CHECK-NEXT: Info: 0
|
2015-10-02 05:15:02 +08:00
|
|
|
# CHECK-NEXT: AddressAlignment: 16
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: EntrySize: 0
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Section {
|
2016-04-12 21:21:13 +08:00
|
|
|
# CHECK-NEXT: Index: 7
|
2016-11-11 04:20:37 +08:00
|
|
|
# CHECK-NEXT: Name: .comment
|
|
|
|
# CHECK-NEXT: Type: SHT_PROGBITS (0x1)
|
|
|
|
# CHECK-NEXT: Flags [ (0x30)
|
|
|
|
# CHECK-NEXT: SHF_MERGE (0x10)
|
|
|
|
# CHECK-NEXT: SHF_STRINGS (0x20)
|
|
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK-NEXT: Address: 0x0
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Offset: 0x20008
|
2016-11-11 04:20:37 +08:00
|
|
|
# CHECK-NEXT: Size: 8
|
|
|
|
# CHECK-NEXT: Link: 0
|
|
|
|
# CHECK-NEXT: Info: 0
|
|
|
|
# CHECK-NEXT: AddressAlignment: 1
|
2017-11-16 00:56:20 +08:00
|
|
|
# CHECK-NEXT: EntrySize: 1
|
2016-11-11 04:20:37 +08:00
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Section {
|
|
|
|
# CHECK-NEXT: Index: 8
|
2015-10-21 01:21:35 +08:00
|
|
|
# CHECK-NEXT: Name: .symtab
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Type: SHT_SYMTAB (0x2)
|
|
|
|
# CHECK-NEXT: Flags [ (0x0)
|
|
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK-NEXT: Address: 0x0
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Offset: 0x20010
|
2015-11-06 15:43:03 +08:00
|
|
|
# CHECK-NEXT: Size: 48
|
2016-11-11 04:20:37 +08:00
|
|
|
# CHECK-NEXT: Link: 10
|
2017-01-24 18:43:40 +08:00
|
|
|
# CHECK-NEXT: Info: 2
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: AddressAlignment: 4
|
|
|
|
# CHECK-NEXT: EntrySize: 16
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Section {
|
2016-11-11 04:20:37 +08:00
|
|
|
# CHECK-NEXT: Index: 9
|
2015-10-21 01:21:35 +08:00
|
|
|
# CHECK-NEXT: Name: .shstrtab
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Type: SHT_STRTAB (0x3)
|
|
|
|
# CHECK-NEXT: Flags [ (0x0)
|
|
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK-NEXT: Address: 0x0
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Offset: 0x20040
|
2016-11-11 04:20:37 +08:00
|
|
|
# CHECK-NEXT: Size: 82
|
2015-10-21 01:21:35 +08:00
|
|
|
# CHECK-NEXT: Link: 0
|
|
|
|
# CHECK-NEXT: Info: 0
|
|
|
|
# CHECK-NEXT: AddressAlignment: 1
|
|
|
|
# CHECK-NEXT: EntrySize: 0
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Section {
|
2016-11-11 04:20:37 +08:00
|
|
|
# CHECK-NEXT: Index: 10
|
2016-04-12 21:21:13 +08:00
|
|
|
# CHECK-NEXT: Name: .strtab
|
2015-10-21 01:21:35 +08:00
|
|
|
# CHECK-NEXT: Type: SHT_STRTAB (0x3)
|
|
|
|
# CHECK-NEXT: Flags [ (0x0)
|
|
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK-NEXT: Address: 0x0
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: Offset: 0x20092
|
2015-11-06 15:43:03 +08:00
|
|
|
# CHECK-NEXT: Size: 13
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Link: 0
|
|
|
|
# CHECK-NEXT: Info: 0
|
|
|
|
# CHECK-NEXT: AddressAlignment: 1
|
|
|
|
# CHECK-NEXT: EntrySize: 0
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK-NEXT: Symbols [
|
|
|
|
# CHECK-NEXT: Symbol {
|
|
|
|
# CHECK-NEXT: Name: (0)
|
|
|
|
# CHECK-NEXT: Value: 0x0
|
|
|
|
# CHECK-NEXT: Size: 0
|
|
|
|
# CHECK-NEXT: Binding: Local (0x0)
|
|
|
|
# CHECK-NEXT: Type: None (0x0)
|
|
|
|
# CHECK-NEXT: Other: 0
|
|
|
|
# CHECK-NEXT: Section: Undefined (0x0)
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Symbol {
|
2016-04-14 00:57:28 +08:00
|
|
|
# CHECK-NEXT: Name: _gp
|
|
|
|
# CHECK-NEXT: Value: 0x37FF0
|
2015-11-06 15:43:03 +08:00
|
|
|
# CHECK-NEXT: Size: 0
|
2016-04-14 00:57:28 +08:00
|
|
|
# CHECK-NEXT: Binding: Local
|
2015-11-06 15:43:03 +08:00
|
|
|
# CHECK-NEXT: Type: None (0x0)
|
2016-04-14 00:57:28 +08:00
|
|
|
# CHECK-NEXT: Other [ (0x2)
|
|
|
|
# CHECK-NEXT: STV_HIDDEN (0x2)
|
|
|
|
# CHECK-NEXT: ]
|
2017-09-15 09:49:01 +08:00
|
|
|
# CHECK-NEXT: Section: .got
|
2015-11-06 15:43:03 +08:00
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: Symbol {
|
2016-04-14 00:57:28 +08:00
|
|
|
# CHECK-NEXT: Name: __start
|
|
|
|
# CHECK-NEXT: Value: 0x20000
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Size: 0
|
2016-04-14 00:57:28 +08:00
|
|
|
# CHECK-NEXT: Binding: Global (0x1)
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Type: None (0x0)
|
|
|
|
# CHECK-NEXT: Other: 0
|
2016-04-14 00:57:28 +08:00
|
|
|
# CHECK-NEXT: Section: .text
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK-NEXT: ProgramHeaders [
|
|
|
|
# CHECK-NEXT: ProgramHeader {
|
2015-10-09 23:31:49 +08:00
|
|
|
# CHECK-NEXT: Type: PT_PHDR (0x6)
|
|
|
|
# CHECK-NEXT: Offset: 0x34
|
2015-10-14 02:50:28 +08:00
|
|
|
# CHECK-NEXT: VirtualAddress: 0x10034
|
|
|
|
# CHECK-NEXT: PhysicalAddress: 0x10034
|
2017-01-17 05:17:23 +08:00
|
|
|
# CHECK-NEXT: FileSize: 160
|
|
|
|
# CHECK-NEXT: MemSize: 160
|
2015-10-09 23:31:49 +08:00
|
|
|
# CHECK-NEXT: Flags [ (0x4)
|
|
|
|
# CHECK-NEXT: PF_R (0x4)
|
|
|
|
# CHECK-NEXT: ]
|
2016-02-08 23:33:53 +08:00
|
|
|
# CHECK-NEXT: Alignment: 4
|
2015-10-09 23:31:49 +08:00
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: ProgramHeader {
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Type: PT_LOAD (0x1)
|
|
|
|
# CHECK-NEXT: Offset: 0x0
|
2015-10-14 02:50:28 +08:00
|
|
|
# CHECK-NEXT: VirtualAddress: 0x10000
|
|
|
|
# CHECK-NEXT: PhysicalAddress: 0x10000
|
2017-01-17 05:17:23 +08:00
|
|
|
# CHECK-NEXT: FileSize: 264
|
|
|
|
# CHECK-NEXT: MemSize: 264
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Flags [ (0x4)
|
|
|
|
# CHECK-NEXT: PF_R (0x4)
|
|
|
|
# CHECK-NEXT: ]
|
2015-10-09 06:23:54 +08:00
|
|
|
# CHECK-NEXT: Alignment: 65536
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: ProgramHeader {
|
|
|
|
# CHECK-NEXT: Type: PT_LOAD (0x1)
|
2015-10-11 07:25:39 +08:00
|
|
|
# CHECK-NEXT: Offset: 0x10000
|
2015-10-14 02:50:28 +08:00
|
|
|
# CHECK-NEXT: VirtualAddress: 0x20000
|
|
|
|
# CHECK-NEXT: PhysicalAddress: 0x20000
|
2016-05-04 21:21:06 +08:00
|
|
|
# CHECK-NEXT: FileSize: 12
|
|
|
|
# CHECK-NEXT: MemSize: 12
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: Flags [ (0x5)
|
|
|
|
# CHECK-NEXT: PF_R (0x4)
|
|
|
|
# CHECK-NEXT: PF_X (0x1)
|
|
|
|
# CHECK-NEXT: ]
|
2015-10-09 06:23:54 +08:00
|
|
|
# CHECK-NEXT: Alignment: 65536
|
2015-09-29 13:34:03 +08:00
|
|
|
# CHECK-NEXT: }
|
2015-11-04 06:08:08 +08:00
|
|
|
# CHECK-NEXT: ProgramHeader {
|
|
|
|
# CHECK-NEXT: Type: PT_LOAD (0x1)
|
|
|
|
# CHECK-NEXT: Offset: 0x20000
|
|
|
|
# CHECK-NEXT: VirtualAddress: 0x30000
|
|
|
|
# CHECK-NEXT: PhysicalAddress: 0x30000
|
2017-01-10 09:21:30 +08:00
|
|
|
# CHECK-NEXT: FileSize: 8
|
2017-01-17 05:17:23 +08:00
|
|
|
# CHECK-NEXT: MemSize: 16
|
2015-11-04 06:08:08 +08:00
|
|
|
# CHECK-NEXT: Flags [
|
|
|
|
# CHECK-NEXT: PF_R
|
|
|
|
# CHECK-NEXT: PF_W
|
|
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK-NEXT: Alignment: 65536
|
|
|
|
# CHECK-NEXT: }
|
2015-11-25 02:48:16 +08:00
|
|
|
# CHECK-NEXT: ProgramHeader {
|
2019-02-20 00:00:07 +08:00
|
|
|
# CHECK-NEXT: Type: PT_GNU_STACK
|
|
|
|
# CHECK-NEXT: Offset: 0x0
|
|
|
|
# CHECK-NEXT: VirtualAddress: 0x0
|
|
|
|
# CHECK-NEXT: PhysicalAddress: 0x0
|
|
|
|
# CHECK-NEXT: FileSize: 0
|
|
|
|
# CHECK-NEXT: MemSize: 0
|
|
|
|
# CHECK-NEXT: Flags [
|
|
|
|
# CHECK-NEXT: PF_R
|
|
|
|
# CHECK-NEXT: PF_W
|
|
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK-NEXT: Alignment: 0
|
|
|
|
# CHECK-NEXT: }
|
|
|
|
# CHECK-NEXT: ]
|