[lld] r256577 - [ELF][MIPS] Rename test file. NFC
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 29 13:09:27 PST 2015
Author: atanasyan
Date: Tue Dec 29 15:09:26 2015
New Revision: 256577
URL: http://llvm.org/viewvc/llvm-project?rev=256577&view=rev
Log:
[ELF][MIPS] Rename test file. NFC
Added:
lld/trunk/test/ELF/mips-gprel32-relocs.s
- copied, changed from r256563, lld/trunk/test/ELF/mips-gprel32-relocs.test
Removed:
lld/trunk/test/ELF/mips-gprel32-relocs.test
Copied: lld/trunk/test/ELF/mips-gprel32-relocs.s (from r256563, lld/trunk/test/ELF/mips-gprel32-relocs.test)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-gprel32-relocs.s?p2=lld/trunk/test/ELF/mips-gprel32-relocs.s&p1=lld/trunk/test/ELF/mips-gprel32-relocs.test&r1=256563&r2=256577&rev=256577&view=diff
==============================================================================
(empty)
Removed: lld/trunk/test/ELF/mips-gprel32-relocs.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/mips-gprel32-relocs.test?rev=256576&view=auto
==============================================================================
--- lld/trunk/test/ELF/mips-gprel32-relocs.test (original)
+++ lld/trunk/test/ELF/mips-gprel32-relocs.test (removed)
@@ -1,31 +0,0 @@
-# Check R_MIPS_GPREL32 relocation calculation.
-
-# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
-# RUN: ld.lld -shared -o %t.so %t.o
-# RUN: llvm-objdump -s -section=.rodata -t %t.so | FileCheck %s
-
-# REQUIRES: mips
-
- .text
- .globl __start
-__start:
- lw $t0,%call16(__start)($gp)
-foo:
- nop
-bar:
- nop
-
- .section .rodata, "a"
-v1:
- .gpword foo
- .gpword bar
-
-# CHECK: Contents of section .rodata:
-# CHECK: 0114 fffe8014 fffe8018
-# ^ 0x10004 - 0x27ff0
-# ^ 0x10008 - 0x27ff0
-
-# CHECK: SYMBOL TABLE:
-# CHECK: 00010008 .text 00000000 bar
-# CHECK: 00010004 .text 00000000 foo
-# CHECK: 00027ff0 *ABS* 00000000 _gp
More information about the llvm-commits
mailing list