[uClibc] Re: gcc-3.4 initfini (Rogelio Serrano)
Peter S. Mazinger
ps.m at gmx.net
Fri Oct 31 11:39:40 UTC 2003
Hello!
initfini.S,crti.S,crtn.S generated on gcc-3.3.2 (with branch-update
20031022)
Peter
--
Peter S. Mazinger <ps.m at gmx.net> ID: 0xA5F059F2 NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
-------------- next part --------------
.file "initfini.c"
#APP
.section .init
#NO_APP
.globl _init
.type _init, @function
#NO_APP
popl %ebx
popl %ebp
ret
.size _init, .-_init
#APP
.section .fini
#NO_APP
.globl _fini
.type _fini, @function
#NO_APP
popl %ebx
popl %ebp
ret
.size _fini, .-_fini
#APP
.section .note.GNU-stack,"", at progbits
.ident "GCC: (GNU) 3.3.2 (release)"
-------------- next part --------------
.file "initfini.c"
#APP
.section .init
#NO_APP
.globl _init
.type _init, @function
_init:
pushl %ebp
movl %esp, %ebp
pushl %ebx
call .L4
.L4:
popl %ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-.L4], %ebx
#APP
.section .fini
#NO_APP
.globl _fini
.type _fini, @function
_fini:
pushl %ebp
movl %esp, %ebp
pushl %ebx
call .L6
.L6:
popl %ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-.L6], %ebx
#APP
.section .note.GNU-stack,"", at progbits
.ident "GCC: (GNU) 3.3.2 (release)"
-------------- next part --------------
.file "initfini.c"
#APP
/*@HEADER_ENDS*/
#NO_APP
.text
.globl dummy
.type dummy, @function
dummy:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
testl %eax, %eax
je .L1
call *%eax
.L1:
popl %ebp
ret
.size dummy, .-dummy
#APP
/*@_init_PROLOG_BEGINS*/
.section .init
#NO_APP
.globl _init
.type _init, @function
_init:
pushl %ebp
movl %esp, %ebp
pushl %ebx
call .L4
.L4:
popl %ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-.L4], %ebx
#APP
/*@_init_PROLOG_PAUSES*/
#NO_APP
call i_am_not_a_leaf at PLT
#APP
/*@_init_PROLOG_UNPAUSES*/
ALIGN
END_INIT
/*@_init_PROLOG_ENDS*/
/*@_init_EPILOG_BEGINS*/
#NO_APP
popl %ebx
popl %ebp
ret
.size _init, .-_init
#APP
/*@_init_EPILOG_ENDS*/
/*@_fini_PROLOG_BEGINS*/
.section .fini
#NO_APP
.globl _fini
.type _fini, @function
_fini:
pushl %ebp
movl %esp, %ebp
pushl %ebx
call .L6
.L6:
popl %ebx
addl $_GLOBAL_OFFSET_TABLE_+[.-.L6], %ebx
#APP
ALIGN
END_FINI
/*@_fini_PROLOG_ENDS*/
#NO_APP
call i_am_not_a_leaf2 at PLT
#APP
/*@_fini_EPILOG_BEGINS*/
#NO_APP
popl %ebx
popl %ebp
ret
.size _fini, .-_fini
#APP
/*@_fini_EPILOG_ENDS*/
/*@TRAILER_BEGINS*/
.section .note.GNU-stack,"", at progbits
.ident "GCC: (GNU) 3.3.2 (release)"
More information about the uClibc
mailing list