[uClibc-cvs] uClibc/libc/sysdeps/linux/i386 crti.S, 1.1, 1.2 crtn.S, 1.1, 1.2
Erik Andersen,,,
andersen at uclibc.org
Sat Jun 12 05:52:25 UTC 2004
Update of /var/cvs/uClibc/libc/sysdeps/linux/i386
In directory nail:/tmp/cvs-serv29816/libc/sysdeps/linux/i386
Modified Files:
crti.S crtn.S
Log Message:
Per comments from Bernhard Rosenkraenzer, adjust gcc 3.3.x generated asm
with s/i686.get_pc_thunk.bx/get_pc_thunk_bx/g to make gcc 3.4 happy.
Index: crti.S
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/i386/crti.S,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/crti.S 5 Nov 2003 00:29:20 -0000 1.1
+++ b/crti.S 12 Jun 2004 05:52:22 -0000 1.2
@@ -1,40 +1,32 @@
- .file "initfini.c"
-#APP
-
.section .init
-#NO_APP
.globl _init
.type _init, @function
_init:
pushl %ebp
movl %esp, %ebp
pushl %ebx
- call __i686.get_pc_thunk.bx
+ call __get_pc_thunk_bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
-#APP
-
-
-
-
+
+
+
+
.section .fini
-#NO_APP
.globl _fini
.type _fini, @function
_fini:
pushl %ebp
movl %esp, %ebp
pushl %ebx
- call __i686.get_pc_thunk.bx
+ call __get_pc_thunk_bx
addl $_GLOBAL_OFFSET_TABLE_, %ebx
-#APP
-
-
-
- .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax", at progbits
-.globl __i686.get_pc_thunk.bx
- .hidden __i686.get_pc_thunk.bx
- .type __i686.get_pc_thunk.bx, @function
-__i686.get_pc_thunk.bx:
+
+
+
+ .section .gnu.linkonce.t.__get_pc_thunk_bx,"ax", at progbits
+.globl __get_pc_thunk_bx
+ .hidden __get_pc_thunk_bx
+ .type __get_pc_thunk_bx, @function
+__get_pc_thunk_bx:
movl (%esp), %ebx
ret
- .ident "GCC: (GNU) 3.3.2 (Debian)"
Index: crtn.S
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/i386/crtn.S,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/crtn.S 5 Nov 2003 00:29:20 -0000 1.1
+++ b/crtn.S 12 Jun 2004 05:52:22 -0000 1.2
@@ -1,33 +1,27 @@
.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 .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax", at progbits
-.globl __i686.get_pc_thunk.bx
- .hidden __i686.get_pc_thunk.bx
- .type __i686.get_pc_thunk.bx, @function
-__i686.get_pc_thunk.bx:
+
+
+
+ .section .gnu.linkonce.t.__get_pc_thunk_bx,"ax", at progbits
+.globl __get_pc_thunk_bx
+ .hidden __get_pc_thunk_bx
+ .type __get_pc_thunk_bx, @function
+__get_pc_thunk_bx:
movl (%esp), %ebx
ret
- .ident "GCC: (GNU) 3.3.2 (Debian)"
More information about the uClibc-cvs
mailing list