summaryrefslogtreecommitdiff
path: root/src/util/fipstools/delocate/testdata/x86_64-LabelRewrite/in2.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/fipstools/delocate/testdata/x86_64-LabelRewrite/in2.s')
-rw-r--r--src/util/fipstools/delocate/testdata/x86_64-LabelRewrite/in2.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/util/fipstools/delocate/testdata/x86_64-LabelRewrite/in2.s b/src/util/fipstools/delocate/testdata/x86_64-LabelRewrite/in2.s
new file mode 100644
index 00000000..7a5a5510
--- /dev/null
+++ b/src/util/fipstools/delocate/testdata/x86_64-LabelRewrite/in2.s
@@ -0,0 +1,12 @@
+ # References to local labels are rewrittenn in subsequent files.
+.Llocal_label:
+ jbe .Llocal_label
+ leaq .Llocal_label+2048(%rip), %r14
+ leaq .Llocal_label+2048+1024(%rip), %r14
+
+ .section .rodata
+.L1:
+ .quad 42
+.L2:
+ .quad .L2-.L1
+