diff options
Diffstat (limited to 'test/elf/Mips/base-address-64.test')
-rw-r--r-- | test/elf/Mips/base-address-64.test | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/test/elf/Mips/base-address-64.test b/test/elf/Mips/base-address-64.test deleted file mode 100644 index 07110e7f918f..000000000000 --- a/test/elf/Mips/base-address-64.test +++ /dev/null @@ -1,78 +0,0 @@ -# Check executable base address configuration. Base address should be -# equal to 0x400000 and the MIPS_BASE_ADDRESS dynamic tag's value should -# be the same. -# RUN: yaml2obj -format=elf %s > %t.o -# RUN: lld -flavor gnu -target mips64el --noinhibit-exec -o %t.exe %t.o -# RUN: llvm-readobj -dynamic-table -program-headers %t.exe | FileCheck %s - -# CHECK: DynamicSection [ (13 entries) -# CHECK: Tag Type Name/Value -# CHECK-NEXT: 0x0000000000000004 HASH 0x{{[0-9A-F]+}} -# CHECK-NEXT: 0x0000000000000005 STRTAB 0x{{[0-9A-F]+}} -# CHECK-NEXT: 0x0000000000000006 SYMTAB 0x{{[0-9A-F]+}} -# CHECK-NEXT: 0x000000000000000A STRSZ 1 (bytes) -# CHECK-NEXT: 0x000000000000000B SYMENT 24 (bytes) -# CHECK-NEXT: 0x0000000070000001 MIPS_RLD_VERSION 1 -# CHECK-NEXT: 0x0000000070000005 MIPS_FLAGS NOTPOT -# CHECK-NEXT: 0x0000000070000006 MIPS_BASE_ADDRESS 0x120000000 -# CHECK-NEXT: 0x000000007000000A MIPS_LOCAL_GOTNO 2 -# CHECK-NEXT: 0x0000000070000011 MIPS_SYMTABNO 1 -# CHECK-NEXT: 0x0000000070000013 MIPS_GOTSYM 0x1 -# CHECK-NEXT: 0x0000000000000003 PLTGOT 0x120001000 -# CHECK-NEXT: 0x0000000000000000 NULL 0x0 -# CHECK-NEXT: ] - -# CHECK: ProgramHeaders [ -# CHECK: ProgramHeader { -# CHECK: Type: PT_PHDR (0x6) -# CHECK: Offset: 0x40 -# CHECK: VirtualAddress: 0x{{[0-9A-F]+}} -# CHECK: } -# CHECK: ProgramHeader { -# CHECK: Type: PT_INTERP (0x3) -# CHECK: Offset: 0x190 -# CHECK: VirtualAddress: 0x{{[0-9A-F]+}} -# CHECK: } -# CHECK: ProgramHeader { -# CHECK: Type: PT_LOAD (0x1) -# CHECK-NEXT: Offset: 0x0 -# CHECK-NEXT: VirtualAddress: 0x120000000 - -FileHeader: - Class: ELFCLASS64 - Data: ELFDATA2LSB - Type: ET_REL - Machine: EM_MIPS - Flags: [ EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, - EF_MIPS_ARCH_64R2 ] -Sections: - - Name: .text - Type: SHT_PROGBITS - Flags: [ SHF_ALLOC, SHF_EXECINSTR ] - AddressAlign: 0x10 - Size: 0x08 - - Name: .data - Type: SHT_PROGBITS - Flags: [ SHF_WRITE, SHF_ALLOC ] - AddressAlign: 0x10 - Size: 0x00 - - Name: .bss - Type: SHT_NOBITS - Flags: [ SHF_WRITE, SHF_ALLOC ] - AddressAlign: 0x10 - Size: 0x00 - -Symbols: - Local: - - Name: .text - Type: STT_SECTION - Section: .text - - Name: .data - Type: STT_SECTION - Section: .data - - Name: .bss - Type: STT_SECTION - Section: .bss - Global: - - Name: main - Section: .text |