aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/sizeof.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/sizeof.s')
-rw-r--r--ld/testsuite/ld-elf/sizeof.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/sizeof.s b/ld/testsuite/ld-elf/sizeof.s
new file mode 100644
index 0000000000..016ac60fd1
--- /dev/null
+++ b/ld/testsuite/ld-elf/sizeof.s
@@ -0,0 +1,11 @@
+ .section scnfoo,"aw",%progbits
+ .zero 0x10
+
+ .globl bar
+ .data
+ .align 8
+ .type bar, %object
+ .size bar, 8
+bar:
+ .dc.a __stop_scnfoo
+ .dc.a .sizeof. (scnfoo)