summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh')
-rw-r--r--libc/sysdeps/linux/sh/crt1.S1
-rw-r--r--libc/sysdeps/linux/sh/crtn.S2
2 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sh/crt1.S b/libc/sysdeps/linux/sh/crt1.S
index 277c55e69..9707f8316 100644
--- a/libc/sysdeps/linux/sh/crt1.S
+++ b/libc/sysdeps/linux/sh/crt1.S
@@ -104,6 +104,7 @@ _start:
nop
#endif
+ .size _start,.-_start
.align 2
#ifdef __PIC__
diff --git a/libc/sysdeps/linux/sh/crtn.S b/libc/sysdeps/linux/sh/crtn.S
index e8be7e51f..437f8ebc3 100644
--- a/libc/sysdeps/linux/sh/crtn.S
+++ b/libc/sysdeps/linux/sh/crtn.S
@@ -15,6 +15,7 @@
.align 2
.L6:
.L7:
+ .size _init, .-_init
.section .fini
.hidden _fini
@@ -30,5 +31,6 @@
.align 2
.L11:
.L12:
+ .size _fini, .-_fini
.ident "GCC: (GNU) 3.3.2"