aboutsummaryrefslogtreecommitdiff
path: root/lld/test/ELF/Inputs/systemz-init.s
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/ELF/Inputs/systemz-init.s')
-rw-r--r--lld/test/ELF/Inputs/systemz-init.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/lld/test/ELF/Inputs/systemz-init.s b/lld/test/ELF/Inputs/systemz-init.s
new file mode 100644
index 0000000..1611b69
--- /dev/null
+++ b/lld/test/ELF/Inputs/systemz-init.s
@@ -0,0 +1,5 @@
+// glibc < 2.39 used to align .init and .fini code at a 4-byte boundary.
+// This file aims to recreate that behavior.
+ .section .init,"ax",@progbits
+ .align 4
+ lg %r4, 272(%r15)