aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfweak/size2b.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elfweak/size2b.s')
-rw-r--r--ld/testsuite/ld-elfweak/size2b.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfweak/size2b.s b/ld/testsuite/ld-elfweak/size2b.s
index d4afe02..27b89db 100644
--- a/ld/testsuite/ld-elfweak/size2b.s
+++ b/ld/testsuite/ld-elfweak/size2b.s
@@ -5,3 +5,10 @@ _start:
.byte 0
.byte 0
.size _start, 2
+
+ .weak foo
+ .type foo, "function"
+foo:
+ .byte 0
+ .byte 0
+ .size foo, 2