summaryrefslogtreecommitdiff
path: root/test/old-elf/Mips/rel-hi0-lo16-micro.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/old-elf/Mips/rel-hi0-lo16-micro.test')
-rw-r--r--test/old-elf/Mips/rel-hi0-lo16-micro.test58
1 files changed, 0 insertions, 58 deletions
diff --git a/test/old-elf/Mips/rel-hi0-lo16-micro.test b/test/old-elf/Mips/rel-hi0-lo16-micro.test
deleted file mode 100644
index 82f62954b992..000000000000
--- a/test/old-elf/Mips/rel-hi0-lo16-micro.test
+++ /dev/null
@@ -1,58 +0,0 @@
-# Check handling of R_MICROMIPS_HI0_LO16 relocation.
-
-# RUN: yaml2obj -format=elf %s > %t.o
-# RUN: lld -flavor old-gnu -target mipsel -e T0 -o %t.exe %t.o
-# RUN: llvm-objdump -s -t %t.exe | FileCheck %s
-
-# CHECK: Contents of section .text:
-# CHECK-NEXT: 400130 00000420
-# ^ 0x402000 + 0x4 = 0x402004
-
-# CHECK: 00402000 g .data 00000004 D0
-
----
-FileHeader:
- Class: ELFCLASS32
- Data: ELFDATA2LSB
- Type: ET_REL
- Machine: EM_MIPS
- Flags: [EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_ABI_O32,
- EF_MIPS_ARCH_32, EF_MIPS_MICROMIPS]
-
-Sections:
- - Name: .text
- Type: SHT_PROGBITS
- Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
- AddressAlign: 16
- Content: "00000400"
-
- - Name: .rel.text
- Type: SHT_REL
- Link: .symtab
- AddressAlign: 4
- Info: .text
- Relocations:
- - Offset: 0
- Symbol: D0
- Type: R_MICROMIPS_HI0_LO16
-
- - Name: .data
- Type: SHT_PROGBITS
- Flags: [ SHF_ALLOC, SHF_WRITE ]
- AddressAlign: 16
- Size: 4
-
-Symbols:
- Global:
- - Name: T0
- Type: STT_FUNC
- Section: .text
- Value: 0
- Size: 4
- Other: [STO_MIPS_MICROMIPS]
- - Name: D0
- Type: STT_OBJECT
- Section: .data
- Value: 0
- Size: 4
-...