summaryrefslogtreecommitdiff
path: root/test/MC/ELF/pic-diff.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-10-04 15:28:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-10-04 15:28:43 +0000
commit01263d35d4c037a882dbfa6364eb0f6c4e0d87a8 (patch)
tree3bcdb9be899d5fe0d5aaca203351c87460f63c4a /test/MC/ELF/pic-diff.s
parent2e0affb428f49d42a5db705d054492fad98ffd11 (diff)
Correctly compute the relocation when it is not in the first fragment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115506 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF/pic-diff.s')
-rw-r--r--test/MC/ELF/pic-diff.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/MC/ELF/pic-diff.s b/test/MC/ELF/pic-diff.s
index 155754717a3..099ae1f0ad6 100644
--- a/test/MC/ELF/pic-diff.s
+++ b/test/MC/ELF/pic-diff.s
@@ -19,7 +19,8 @@
// CHECK-NEXT: ),
// CHECK-NEXT: ])
-.zero 4
+.zero 1
+.align 4
foo:
.zero 8
.long baz - foo