summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit7c48b06930eef41207b15581cf6a8fe7e95f94ef (patch)
tree9ca6614a463857053bf8321c721f10d408cb056b /llvm/test/MC/ELF/pic-diff.s
parent3ae028c3b9bc4320fcc69fb76da0e53eb90b1064 (diff)
downloadbcm5719-llvm-7c48b06930eef41207b15581cf6a8fe7e95f94ef.tar.gz
bcm5719-llvm-7c48b06930eef41207b15581cf6a8fe7e95f94ef.zip
Correctly compute the relocation when it is not in the first fragment.
llvm-svn: 115506
Diffstat (limited to 'llvm/test/MC/ELF/pic-diff.s')
-rw-r--r--llvm/test/MC/ELF/pic-diff.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/MC/ELF/pic-diff.s b/llvm/test/MC/ELF/pic-diff.s
index 155754717a3..099ae1f0ad6 100644
--- a/llvm/test/MC/ELF/pic-diff.s
+++ b/llvm/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
OpenPOWER on IntegriCloud