Add tests for PR ld/20513
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elfweak / size2b.s
index d4afe02efc495a9f4e1fe31e2d16bd67a46f6063..946c838470cbca2fd96ad289c0de134af3984c91 100644 (file)
@@ -1,7 +1,18 @@
        .text
        .weak _start
+       .weak __start
        .type _start, "function"
+       .type __start, "function"
 _start:
+__start:
        .byte 0
        .byte 0
        .size _start, 2
+       .size __start, 2
+
+       .weak foo
+       .type foo, "function"
+foo:
+       .byte 0
+       .byte 0
+       .size foo, 2
This page took 0.023152 seconds and 4 git commands to generate.