summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-05 09:19:16 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-05 09:19:16 +0200
commit07464c3e7156f4c8dfcac673c74f19b700b1b3b5 (patch)
tree2e4c6402a1de852f8d3683cf455fe60fa677b202 /libc/sysdeps/linux/sh
parent233c504cd940d9802226b6a3a092368b86978f5e (diff)
Revert "*/crt?.S: remove .size directives"
Removing them generally was not a good idea This reverts commit 233c504cd940d9802226b6a3a092368b86978f5e.
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"