summaryrefslogtreecommitdiff
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
parent233c504cd940d9802226b6a3a092368b86978f5e (diff)
Revert "*/crt?.S: remove .size directives"
Removing them generally was not a good idea This reverts commit 233c504cd940d9802226b6a3a092368b86978f5e.
-rw-r--r--libc/sysdeps/linux/arm/crti.S1
-rw-r--r--libc/sysdeps/linux/arm/crtn.S2
-rw-r--r--libc/sysdeps/linux/avr32/crt1.S1
-rw-r--r--libc/sysdeps/linux/avr32/crtn.S2
-rw-r--r--libc/sysdeps/linux/cris/crt1.S2
-rw-r--r--libc/sysdeps/linux/cris/crtn.S2
-rw-r--r--libc/sysdeps/linux/frv/crt0.S1
-rw-r--r--libc/sysdeps/linux/frv/crtn.S2
-rw-r--r--libc/sysdeps/linux/h8300/crtn.S2
-rw-r--r--libc/sysdeps/linux/i386/crt1.S1
-rw-r--r--libc/sysdeps/linux/i386/crtn.S2
-rw-r--r--libc/sysdeps/linux/microblaze/crtn.S2
-rw-r--r--libc/sysdeps/linux/mips/crt1.S1
-rw-r--r--libc/sysdeps/linux/powerpc/crt1.S1
-rw-r--r--libc/sysdeps/linux/powerpc/crtn.S2
-rw-r--r--libc/sysdeps/linux/sh/crt1.S1
-rw-r--r--libc/sysdeps/linux/sh/crtn.S2
-rw-r--r--libc/sysdeps/linux/sh64/crtn.S2
-rw-r--r--libc/sysdeps/linux/sparc/crt1.S1
-rw-r--r--libc/sysdeps/linux/sparc/crtn.S2
-rw-r--r--libc/sysdeps/linux/v850/crtn.S2
-rw-r--r--libc/sysdeps/linux/vax/crtn.S2
-rw-r--r--libc/sysdeps/linux/x86_64/crt1.S1
-rw-r--r--libc/sysdeps/linux/x86_64/crtn.S2
24 files changed, 39 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/crti.S b/libc/sysdeps/linux/arm/crti.S
index a2d0c03f2..e335b7140 100644
--- a/libc/sysdeps/linux/arm/crti.S
+++ b/libc/sysdeps/linux/arm/crti.S
@@ -63,6 +63,7 @@ _fini:
_call_via_\register:
bx \register
nop
+ .size _call_via_\register, . - _call_via_\register
.endm
@ and calls for the 15 general purpose registers (2 bytes each).
diff --git a/libc/sysdeps/linux/arm/crtn.S b/libc/sysdeps/linux/arm/crtn.S
index a4752c186..de01b38dc 100644
--- a/libc/sysdeps/linux/arm/crtn.S
+++ b/libc/sysdeps/linux/arm/crtn.S
@@ -15,6 +15,7 @@
.arm
ldmdb fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
#endif
+ .size _init, .-_init
.section .fini
.global _fini
@@ -28,6 +29,7 @@
.arm
ldmdb fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
#endif
+ .size _fini, .-_fini
@ In fact this is modified to 3.4.4
.ident "GCC: (GNU) 3.3.2 20031005 (Debian prerelease)"
diff --git a/libc/sysdeps/linux/avr32/crt1.S b/libc/sysdeps/linux/avr32/crt1.S
index e2a82a528..ca1fa7a4c 100644
--- a/libc/sysdeps/linux/avr32/crt1.S
+++ b/libc/sysdeps/linux/avr32/crt1.S
@@ -80,6 +80,7 @@ __main_addr:
___uClibc_main_addr:
.long __uClibc_main
#endif
+ .size _start, . - _start
/*
* The LSB says we need this.
diff --git a/libc/sysdeps/linux/avr32/crtn.S b/libc/sysdeps/linux/avr32/crtn.S
index c37f7d201..f7d104070 100644
--- a/libc/sysdeps/linux/avr32/crtn.S
+++ b/libc/sysdeps/linux/avr32/crtn.S
@@ -4,9 +4,11 @@
.global _init
.type _init, @function
ldm sp++, r6, pc
+ .size _init, . - _init
.section .fini
.align 2
.global _fini
.type _fini, @function
ldm sp++, r6, pc
+ .size _fini, . - _fini
diff --git a/libc/sysdeps/linux/cris/crt1.S b/libc/sysdeps/linux/cris/crt1.S
index 1525a2b76..b07e36b51 100644
--- a/libc/sysdeps/linux/cris/crt1.S
+++ b/libc/sysdeps/linux/cris/crt1.S
@@ -9,6 +9,7 @@
.global __data_start
.align 2
.type __data_start, @object
+ .size __data_start, 4
__data_start:
.dword 0
@@ -52,3 +53,4 @@ _start:
/* Leave control to the libc */
jsr __uClibc_main
nop
+ .size _start, .-_start
diff --git a/libc/sysdeps/linux/cris/crtn.S b/libc/sysdeps/linux/cris/crtn.S
index 7b2dce17c..951ae5449 100644
--- a/libc/sysdeps/linux/cris/crtn.S
+++ b/libc/sysdeps/linux/cris/crtn.S
@@ -9,6 +9,7 @@
move.d [$sp+],$r1
Ret
nop
+ .size _init, .-_init
.section .fini
.align 1
@@ -19,3 +20,4 @@
move.d [$sp+],$r1
Ret
nop
+ .size _fini, .-_fini
diff --git a/libc/sysdeps/linux/frv/crt0.S b/libc/sysdeps/linux/frv/crt0.S
index a40b67e80..a1d07bb69 100644
--- a/libc/sysdeps/linux/frv/crt0.S
+++ b/libc/sysdeps/linux/frv/crt0.S
@@ -113,6 +113,7 @@ _start:
/* Crash if somehow `exit' returns anyways. */
jmpl @(gr0,gr0)
+.size _start,.-_start
/* Define a symbol for the first piece of initialized data. */
.data
diff --git a/libc/sysdeps/linux/frv/crtn.S b/libc/sysdeps/linux/frv/crtn.S
index bd11901ad..1d58c0207 100644
--- a/libc/sysdeps/linux/frv/crtn.S
+++ b/libc/sysdeps/linux/frv/crtn.S
@@ -32,6 +32,7 @@ Cambridge, MA 02139, USA. */
ld @(sp,gr0), fp
addi sp,#16,sp
jmpl @(gr5,gr0)
+ .size _init, .-_init
.section .fini,"x"
.globl _fini
@@ -40,3 +41,4 @@ Cambridge, MA 02139, USA. */
ld @(sp,gr0), fp
addi sp,#16,sp
jmpl @(gr5,gr0)
+ .size _fini, .-_fini
diff --git a/libc/sysdeps/linux/h8300/crtn.S b/libc/sysdeps/linux/h8300/crtn.S
index 8f9fa1fac..89e321868 100644
--- a/libc/sysdeps/linux/h8300/crtn.S
+++ b/libc/sysdeps/linux/h8300/crtn.S
@@ -14,6 +14,7 @@
; #NO_APP
mov.l @er7+,er6
rts
+ .size __init, .-__init
; #APP
.section .fini
@@ -23,6 +24,7 @@
; #NO_APP
mov.l @er7+,er6
rts
+ .size __fini, .-__fini
; #APP
.end
diff --git a/libc/sysdeps/linux/i386/crt1.S b/libc/sysdeps/linux/i386/crt1.S
index 7dfeaf1a5..a133cb9e0 100644
--- a/libc/sysdeps/linux/i386/crt1.S
+++ b/libc/sysdeps/linux/i386/crt1.S
@@ -129,6 +129,7 @@ _start:
#endif
hlt /* Crash if somehow `exit' does return. */
+.size _start,.-_start
/* Define a symbol for the first piece of initialized data. */
.data
diff --git a/libc/sysdeps/linux/i386/crtn.S b/libc/sysdeps/linux/i386/crtn.S
index 34d5b38e2..191250487 100644
--- a/libc/sysdeps/linux/i386/crtn.S
+++ b/libc/sysdeps/linux/i386/crtn.S
@@ -6,6 +6,7 @@
popl %ebx
popl %ebp
ret
+.size _init,.-_init
@@ -15,6 +16,7 @@
popl %ebx
popl %ebp
ret
+.size _fini,.-_fini
diff --git a/libc/sysdeps/linux/microblaze/crtn.S b/libc/sysdeps/linux/microblaze/crtn.S
index 6f4ef60d3..da8c920ef 100644
--- a/libc/sysdeps/linux/microblaze/crtn.S
+++ b/libc/sysdeps/linux/microblaze/crtn.S
@@ -26,6 +26,7 @@
.end _init
$Lfe2:
+ .size _init,$Lfe2-_init
.section .fini
.align 2
@@ -39,5 +40,6 @@ $Lfe2:
.end _fini
$Lfe3:
+ .size _fini,$Lfe3-_fini
/*@TRAILER_BEGINS*/
diff --git a/libc/sysdeps/linux/mips/crt1.S b/libc/sysdeps/linux/mips/crt1.S
index 90f69e9c8..6a804125e 100644
--- a/libc/sysdeps/linux/mips/crt1.S
+++ b/libc/sysdeps/linux/mips/crt1.S
@@ -118,6 +118,7 @@ __start:
hlt:
/* Crash if somehow `__uClibc_main' returns anyway. */
b hlt
+.size __start,.-__start
.end __start
/* Define a symbol for the first piece of initialized data. */
diff --git a/libc/sysdeps/linux/powerpc/crt1.S b/libc/sysdeps/linux/powerpc/crt1.S
index de3aa0814..4f1494a8f 100644
--- a/libc/sysdeps/linux/powerpc/crt1.S
+++ b/libc/sysdeps/linux/powerpc/crt1.S
@@ -95,6 +95,7 @@ _start:
b __uClibc_main
#endif
+.size _start,.-_start
/* Define a symbol for the first piece of initialized data. */
.data
diff --git a/libc/sysdeps/linux/powerpc/crtn.S b/libc/sysdeps/linux/powerpc/crtn.S
index 938367caa..ba6d0e0c8 100644
--- a/libc/sysdeps/linux/powerpc/crtn.S
+++ b/libc/sysdeps/linux/powerpc/crtn.S
@@ -9,6 +9,7 @@
addi 1,1,32
mtlr 0
blr
+ .size _init, .-_init
.section .fini
.align 2
@@ -19,3 +20,4 @@
addi 1,1,32
mtlr 0
blr
+ .size _fini, .-_fini
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"
diff --git a/libc/sysdeps/linux/sh64/crtn.S b/libc/sysdeps/linux/sh64/crtn.S
index 501fe9167..eb6479a56 100644
--- a/libc/sysdeps/linux/sh64/crtn.S
+++ b/libc/sysdeps/linux/sh64/crtn.S
@@ -14,6 +14,7 @@
ptabs r18, tr0
addi.l r15, 16, r15
blink tr0, r63
+ .size _init, .-_init
.section .fini
.hidden _fini
@@ -27,5 +28,6 @@
ptabs r18, tr0
addi.l r15, 16, r15
blink tr0, r63
+ .size _fini, .-_fini
.ident "GCC: (GNU) 3.3.2"
diff --git a/libc/sysdeps/linux/sparc/crt1.S b/libc/sysdeps/linux/sparc/crt1.S
index 78aaaccce..f33a714ef 100644
--- a/libc/sysdeps/linux/sparc/crt1.S
+++ b/libc/sysdeps/linux/sparc/crt1.S
@@ -123,6 +123,7 @@ _start:
illtrap 0
#endif
+.size _start,.-_start
/* Define a symbol for the first piece of initialized data. */
.data
diff --git a/libc/sysdeps/linux/sparc/crtn.S b/libc/sysdeps/linux/sparc/crtn.S
index d64ffd020..24b4bf43c 100644
--- a/libc/sysdeps/linux/sparc/crtn.S
+++ b/libc/sysdeps/linux/sparc/crtn.S
@@ -7,6 +7,7 @@
.proc 020
ret
restore
+ .size _init, .-_init
.section .fini
.align 4
@@ -15,3 +16,4 @@
.proc 020
ret
restore
+ .size _fini, .-_fini
diff --git a/libc/sysdeps/linux/v850/crtn.S b/libc/sysdeps/linux/v850/crtn.S
index 6bb0b39ac..aecb55737 100644
--- a/libc/sysdeps/linux/v850/crtn.S
+++ b/libc/sysdeps/linux/v850/crtn.S
@@ -8,6 +8,7 @@
.type __init, @function
#NO_APP
jr __return_r31
+ .size __init, .-__init
#APP
.section .fini
@@ -17,6 +18,7 @@
.type __fini, @function
#NO_APP
jr __return_r31
+ .size __fini, .-__fini
#APP
.ident "GCC: (GNU) 3.3.2"
diff --git a/libc/sysdeps/linux/vax/crtn.S b/libc/sysdeps/linux/vax/crtn.S
index 1153fd50b..6ca5c4fcd 100644
--- a/libc/sysdeps/linux/vax/crtn.S
+++ b/libc/sysdeps/linux/vax/crtn.S
@@ -9,6 +9,7 @@ __gnu_compiled_c:
.type _init,@function
ret
.Lfe2:
+ .size _init,.Lfe2-_init
.section .fini
.align 1
@@ -16,4 +17,5 @@ __gnu_compiled_c:
.type _fini,@function
ret
.Lfe3:
+ .size _fini,.Lfe3-_fini
.ident "GCC: (GNU) 2.95.2 19991024 (release) (Linux/VAX CVS)"
diff --git a/libc/sysdeps/linux/x86_64/crt1.S b/libc/sysdeps/linux/x86_64/crt1.S
index a21be7583..f6c1eb1e7 100644
--- a/libc/sysdeps/linux/x86_64/crt1.S
+++ b/libc/sysdeps/linux/x86_64/crt1.S
@@ -129,6 +129,7 @@ _start:
#endif
hlt /* Crash if somehow `exit' does return. */
+.size _start,.-_start
/* Define a symbol for the first piece of initialized data. */
.data
diff --git a/libc/sysdeps/linux/x86_64/crtn.S b/libc/sysdeps/linux/x86_64/crtn.S
index 9804e0f76..5b110d967 100644
--- a/libc/sysdeps/linux/x86_64/crtn.S
+++ b/libc/sysdeps/linux/x86_64/crtn.S
@@ -7,6 +7,7 @@
.type _init, %function
addq $8, %rsp
ret
+.size _init,.-_init
.section .fini
@@ -14,3 +15,4 @@
.type _fini, %function
addq $8, %rsp
ret
+.size _fini, .-_fini