]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/arm/crtn.S
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / arm / crtn.S
index de01b38dcfaedbbac8e3610ab0446556013440dd..f3cd6c0bf15480e7c39576b1d9f5d3a1708f9f23 100644 (file)
@@ -1,4 +1,6 @@
        .file   "initfini.c"
+
+/* Adam: Fixed binutils >= 2.21 issue, pull upstream later when available */
        
 #include <bits/arm_asm.h>
        .section .init
@@ -7,6 +9,7 @@
 #if defined __thumb__
        .align  1
        .thumb
+       .L1:
        @ this will not work on ARMv4T, but lots of stuff
        @ in here won't work there anyway...
        pop     {r4-r7, pc}
@@ -15,7 +18,8 @@
        .arm
        ldmdb   fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
 #endif
-       .size   _init, .-_init
+       .size   .L1, .-.L1
+       //.size _init, .-_init
        
        .section .fini
        .global _fini
 #if defined __thumb__
        .align  1
        .thumb
+       .L2:
        pop     {r4-r7, pc}
 #else
        .align  2
        .arm
        ldmdb   fp, {r4, r5, r6, r7, r8, r9, sl, fp, sp, pc}
 #endif
-       .size   _fini, .-_fini
+       .size   .L2,.-.L2
+       //.size _fini, .-_fini
        
        @ In fact this is modified to 3.4.4
        .ident  "GCC: (GNU) 3.3.2 20031005 (Debian prerelease)"