OSDN Git Service

*/crt?.S: remove .size directives
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 4 May 2011 08:01:24 +0000 (10:01 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 4 May 2011 18:40:49 +0000 (20:40 +0200)
sed -i -e '/\.size[[:space:]]/d' $(grep -l "\.size" libc/sysdeps/linux/*/crt*.[sSc])

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
24 files changed:
libc/sysdeps/linux/arm/crti.S
libc/sysdeps/linux/arm/crtn.S
libc/sysdeps/linux/avr32/crt1.S
libc/sysdeps/linux/avr32/crtn.S
libc/sysdeps/linux/cris/crt1.S
libc/sysdeps/linux/cris/crtn.S
libc/sysdeps/linux/frv/crt0.S
libc/sysdeps/linux/frv/crtn.S
libc/sysdeps/linux/h8300/crtn.S
libc/sysdeps/linux/i386/crt1.S
libc/sysdeps/linux/i386/crtn.S
libc/sysdeps/linux/microblaze/crtn.S
libc/sysdeps/linux/mips/crt1.S
libc/sysdeps/linux/powerpc/crt1.S
libc/sysdeps/linux/powerpc/crtn.S
libc/sysdeps/linux/sh/crt1.S
libc/sysdeps/linux/sh/crtn.S
libc/sysdeps/linux/sh64/crtn.S
libc/sysdeps/linux/sparc/crt1.S
libc/sysdeps/linux/sparc/crtn.S
libc/sysdeps/linux/v850/crtn.S
libc/sysdeps/linux/vax/crtn.S
libc/sysdeps/linux/x86_64/crt1.S
libc/sysdeps/linux/x86_64/crtn.S

index e335b71..a2d0c03 100644 (file)
@@ -63,7 +63,6 @@ _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).
index de01b38..a4752c1 100644 (file)
@@ -15,7 +15,6 @@
        .arm
        ldmdb   fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
 #endif
-       .size   _init, .-_init
        
        .section .fini
        .global _fini
@@ -29,7 +28,6 @@
        .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)"
index ca1fa7a..e2a82a5 100644 (file)
@@ -80,7 +80,6 @@ __main_addr:
 ___uClibc_main_addr:
        .long   __uClibc_main
 #endif
-       .size   _start, . - _start
 
        /*
         * The LSB says we need this.
index f7d1040..c37f7d2 100644 (file)
@@ -4,11 +4,9 @@
        .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
index b07e36b..1525a2b 100644 (file)
@@ -9,7 +9,6 @@
        .global __data_start
        .align  2
        .type   __data_start, @object
-       .size   __data_start, 4
 __data_start:
        .dword  0
 
@@ -53,4 +52,3 @@ _start:
        /* Leave control to the libc */
        jsr     __uClibc_main
        nop
-       .size   _start, .-_start
index 951ae54..7b2dce1 100644 (file)
@@ -9,7 +9,6 @@
        move.d  [$sp+],$r1
        Ret
        nop
-       .size   _init, .-_init
 
        .section        .fini
        .align  1
@@ -20,4 +19,3 @@
        move.d  [$sp+],$r1
        Ret
        nop
-       .size   _fini, .-_fini
index a1d07bb..a40b67e 100644 (file)
@@ -113,7 +113,6 @@ _start:
 
        /* Crash if somehow `exit' returns anyways.  */
        jmpl    @(gr0,gr0)
-.size _start,.-_start
 
 /* Define a symbol for the first piece of initialized data.  */
        .data
index 1d58c02..bd11901 100644 (file)
@@ -32,7 +32,6 @@ Cambridge, MA 02139, USA.  */
        ld @(sp,gr0), fp
        addi sp,#16,sp
        jmpl @(gr5,gr0)
-       .size   _init, .-_init
        
        .section .fini,"x"
        .globl _fini
@@ -41,4 +40,3 @@ Cambridge, MA 02139, USA.  */
        ld @(sp,gr0), fp
        addi sp,#16,sp
        jmpl @(gr5,gr0)
-       .size   _fini, .-_fini
index 89e3218..8f9fa1f 100644 (file)
@@ -14,7 +14,6 @@
 ; #NO_APP
        mov.l   @er7+,er6
        rts
-       .size   __init, .-__init
 ; #APP
 
        .section .fini
@@ -24,7 +23,6 @@
 ; #NO_APP
        mov.l   @er7+,er6
        rts
-       .size   __fini, .-__fini
 ; #APP
 
        .end
index a133cb9..7dfeaf1 100644 (file)
@@ -129,7 +129,6 @@ _start:
 #endif
 
        hlt                     /* Crash if somehow `exit' does return.  */
-.size _start,.-_start
 
 /* Define a symbol for the first piece of initialized data.  */
 .data
index 1912504..34d5b38 100644 (file)
@@ -6,7 +6,6 @@
        popl    %ebx
        popl    %ebp
        ret
-.size _init,.-_init
 
 
 
@@ -16,7 +15,6 @@
        popl    %ebx
        popl    %ebp
        ret
-.size _fini,.-_fini
 
 
 
index da8c920..6f4ef60 100644 (file)
@@ -26,7 +26,6 @@
 
        .end    _init
 $Lfe2:
-       .size   _init,$Lfe2-_init
 
        .section .fini
        .align  2
@@ -40,6 +39,5 @@ $Lfe2:
 
        .end    _fini
 $Lfe3:
-       .size   _fini,$Lfe3-_fini
 
 /*@TRAILER_BEGINS*/
index 6a80412..90f69e9 100644 (file)
@@ -118,7 +118,6 @@ __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.  */
index 4f1494a..de3aa08 100644 (file)
@@ -95,7 +95,6 @@ _start:
        b       __uClibc_main
 #endif
 
-.size _start,.-_start
 
 /* Define a symbol for the first piece of initialized data.  */
        .data
index ba6d0e0..938367c 100644 (file)
@@ -9,7 +9,6 @@
        addi 1,1,32
        mtlr 0
        blr
-       .size   _init, .-_init
        
        .section .fini
        .align 2
@@ -20,4 +19,3 @@
        addi 1,1,32
        mtlr 0
        blr
-       .size   _fini, .-_fini
index 9707f83..277c55e 100644 (file)
@@ -104,7 +104,6 @@ _start:
        nop
 #endif
 
-       .size _start,.-_start
        .align  2
 
 #ifdef __PIC__
index 437f8eb..e8be7e5 100644 (file)
@@ -15,7 +15,6 @@
        .align 2
 .L6:
 .L7:
-       .size   _init, .-_init
        
        .section .fini
        .hidden  _fini
@@ -31,6 +30,5 @@
        .align 2
 .L11:
 .L12:
-       .size   _fini, .-_fini
        
        .ident  "GCC: (GNU) 3.3.2"
index eb6479a..501fe91 100644 (file)
@@ -14,7 +14,6 @@
        ptabs   r18, tr0
        addi.l  r15, 16, r15
        blink   tr0, r63
-       .size   _init, .-_init
        
        .section .fini
        .hidden  _fini
@@ -28,6 +27,5 @@
        ptabs   r18, tr0
        addi.l  r15, 16, r15
        blink   tr0, r63
-       .size   _fini, .-_fini
        
        .ident  "GCC: (GNU) 3.3.2"
index f33a714..78aaacc 100644 (file)
@@ -123,7 +123,6 @@ _start:
        illtrap 0
 #endif
 
-.size _start,.-_start
 
 /* Define a symbol for the first piece of initialized data. */
 .data
index 24b4bf4..d64ffd0 100644 (file)
@@ -7,7 +7,6 @@
        .proc   020
        ret
        restore
-       .size   _init, .-_init
        
        .section .fini
        .align 4
@@ -16,4 +15,3 @@
        .proc   020
        ret
        restore
-       .size   _fini, .-_fini
index aecb557..6bb0b39 100644 (file)
@@ -8,7 +8,6 @@
        .type   __init, @function
 #NO_APP
        jr __return_r31
-       .size   __init, .-__init
 #APP
        
        .section .fini
@@ -18,7 +17,6 @@
        .type   __fini, @function
 #NO_APP
        jr __return_r31
-       .size   __fini, .-__fini
 #APP
        
        .ident  "GCC: (GNU) 3.3.2"
index 6ca5c4f..1153fd5 100644 (file)
@@ -9,7 +9,6 @@ __gnu_compiled_c:
        .type    _init,@function
        ret
 .Lfe2:
-       .size    _init,.Lfe2-_init
 
        .section .fini
        .align 1
@@ -17,5 +16,4 @@ __gnu_compiled_c:
        .type    _fini,@function
        ret
 .Lfe3:
-       .size    _fini,.Lfe3-_fini
        .ident  "GCC: (GNU) 2.95.2 19991024 (release) (Linux/VAX CVS)"
index f6c1eb1..a21be75 100644 (file)
@@ -129,7 +129,6 @@ _start:
 #endif
 
        hlt        /* Crash if somehow `exit' does return.  */
-.size _start,.-_start
 
 /* Define a symbol for the first piece of initialized data. */
 .data
index 5b110d9..9804e0f 100644 (file)
@@ -7,7 +7,6 @@
 .type    _init, %function
        addq $8, %rsp
        ret
-.size _init,.-_init
 
 
 .section .fini
@@ -15,4 +14,3 @@
 .type    _fini, %function
        addq $8, %rsp
        ret
-.size _fini, .-_fini