[prev in list] [next in list] [prev in thread] [next in thread]
List: uclibc-cvs
Subject: [uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/i386
From: jocke () uclibc ! org (jocke () uclibc ! org)
Date: 2005-05-26 17:11:51
Message-ID: 20050526231149.C2E0D865290 () codepoet ! org
[Download RAW message or body]
Author: jocke
Date: 2005-05-26 17:11:49 -0600 (Thu, 26 May 2005)
New Revision: 10416
Log:
Clean it up a little.
Modified:
trunk/uClibc/libc/sysdeps/linux/i386/crt1.S
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/i386/crt1.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/i386/crt1.S 2005-05-26 23:05:31 UTC (rev 10415)
+++ trunk/uClibc/libc/sysdeps/linux/i386/crt1.S 2005-05-26 23:11:49 UTC (rev 10416)
@@ -89,14 +89,14 @@
#if defined L_Scrt1
/* Load PIC register. */
- call 1f
- addl $_GLOBAL_OFFSET_TABLE_, %ebx
+ call .L0
+.L0:
+ pop %ebx
+ addl $_GLOBAL_OFFSET_TABLE_+[.-.L0],%ebx
/* Push address of our own entry points to .fini and .init. */
- leal _fini@GOTOFF(%ebx), %eax
- pushl %eax
- leal _init@GOTOFF(%ebx), %eax
- pushl %eax
+ pushl _fini@GOT(%ebx)
+ pushl _init@GOT(%ebx)
pushl %ecx /* Push second argument: argv. */
pushl %esi /* Push first argument: argc. */
@@ -123,10 +123,6 @@
hlt /* Crash if somehow `exit' does return. */
-#if defined L_Scrt1
-1: movl (%esp), %ebx
- ret
-#endif
/* Define a symbol for the first piece of initialized data. */
.data
.globl __data_start
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic