diff options
| author | Fangrui Song <maskray@google.com> | 2019-05-20 11:17:02 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-05-20 11:17:02 +0000 |
| commit | 63514556c49552b0694d6d8fe39022a7e1ffb989 (patch) | |
| tree | 0f3d8962fa75600a87c6c92f2daa561ac0686ae4 | |
| parent | 33160c442449f71a76381383186e7ed726cab619 (diff) | |
| download | bcm5719-llvm-63514556c49552b0694d6d8fe39022a7e1ffb989.tar.gz bcm5719-llvm-63514556c49552b0694d6d8fe39022a7e1ffb989.zip | |
[MIPS] Update mips-abs-got.s to not use .reloc
As Simon Atanasyan suggested in D61563
llvm-svn: 361142
| -rw-r--r-- | lld/test/ELF/mips-abs-got.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/test/ELF/mips-abs-got.s b/lld/test/ELF/mips-abs-got.s index aa67d469409..bccfe5914e6 100644 --- a/lld/test/ELF/mips-abs-got.s +++ b/lld/test/ELF/mips-abs-got.s @@ -4,7 +4,7 @@ # RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux -o %t.o %s # RUN: echo "SECTIONS { \ -# RUN: zero = 0; foo = 0x11004; bar = 0x22000; }" > %t.script +# RUN: zero1 = 0; zero2 = 0; foo = 0x11004; bar = 0x22000; }" > %t.script # RUN: ld.lld --script %t.script -o %t.exe %t.o # RUN: llvm-readobj --mips-plt-got %t.exe | FileCheck %s @@ -30,7 +30,7 @@ .text nop - .reloc 0, R_MIPS_GOT_PAGE, 0 - ld $v0, %got_page(zero)($gp) + ld $v0, %got_page(zero1)($gp) + ld $v0, %got_page(zero2)($gp) ld $v0, %got_page(foo)($gp) ld $v0, %got_page(bar+0x10008)($gp) |

