aboutsummaryrefslogtreecommitdiff
path: root/test/old-elf/Mips/rel-pc18-s3-align.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/old-elf/Mips/rel-pc18-s3-align.test')
-rw-r--r--test/old-elf/Mips/rel-pc18-s3-align.test44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/old-elf/Mips/rel-pc18-s3-align.test b/test/old-elf/Mips/rel-pc18-s3-align.test
deleted file mode 100644
index ca2fa18ecaa0..000000000000
--- a/test/old-elf/Mips/rel-pc18-s3-align.test
+++ /dev/null
@@ -1,44 +0,0 @@
-# Check incorrect alignment handling for R_MIPS_PC18_S3 relocation target.
-
-# RUN: yaml2obj -format=elf %s > %t.o
-# RUN: not lld -flavor old-gnu -target mipsel -e T0 -o %t.exe %t.o 2>&1 \
-# RUN: | FileCheck %s
-
-# CHECK: Relocation not aligned in file {{.*}} reference from T1+0 to T1+0 of type 62 (R_MIPS_PC18_S3)
-
-FileHeader:
- Class: ELFCLASS32
- Data: ELFDATA2LSB
- Type: ET_REL
- Machine: EM_MIPS
- Flags: [EF_MIPS_CPIC, EF_MIPS_ABI_O32, EF_MIPS_ARCH_32R6]
-
-Sections:
-- Name: .text
- Type: SHT_PROGBITS
- Content: "0000000000000000"
-# ^ T0 ^ T1
- AddressAlign: 16
- Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
-
-- Name: .rel.text
- Type: SHT_REL
- Info: .text
- AddressAlign: 4
- Relocations:
- - Offset: 4
- Symbol: T1
- Type: R_MIPS_PC18_S3
-
-Symbols:
- Global:
- - Name: T0
- Section: .text
- Type: STT_FUNC
- Value: 0
- Size: 4
- - Name: T1
- Section: .text
- Type: STT_FUNC
- Value: 4
- Size: 4