[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r9122 - in /fsf/glibc-2_10-branch/ports: ChangeLog.arm sysdeps/arm/elf/start.S



Author: eglibc
Date: Thu Oct 22 12:47:03 2009
New Revision: 9122

Log:
Import glibc-ports-2.10 for 2009-10-22

Modified:
    fsf/glibc-2_10-branch/ports/ChangeLog.arm
    fsf/glibc-2_10-branch/ports/sysdeps/arm/elf/start.S

Modified: fsf/glibc-2_10-branch/ports/ChangeLog.arm
==============================================================================
--- fsf/glibc-2_10-branch/ports/ChangeLog.arm (original)
+++ fsf/glibc-2_10-branch/ports/ChangeLog.arm Thu Oct 22 12:47:03 2009
@@ -1,3 +1,8 @@
+2009-10-22  Julian Brown  <julian@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/arm/elf/start.S (_start): Avoid dependency on PC pipeline
+	offset.
+
 2009-07-29  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/arm/kernel-features.h: Define

Modified: fsf/glibc-2_10-branch/ports/sysdeps/arm/elf/start.S
==============================================================================
--- fsf/glibc-2_10-branch/ports/sysdeps/arm/elf/start.S (original)
+++ fsf/glibc-2_10-branch/ports/sysdeps/arm/elf/start.S Thu Oct 22 12:47:03 2009
@@ -87,8 +87,8 @@
 
 #ifdef SHARED
 	ldr sl, .L_GOT
-.L_GOT_OFF:
-	add sl, pc, sl
+	adr a4, .L_GOT
+	add sl, sl, a4
 
 	ldr ip, .L_GOT+4	/* __libc_csu_fini */
 	ldr ip, [sl, ip]
@@ -125,7 +125,7 @@
 
 #ifdef SHARED
 .L_GOT:
-	.word _GLOBAL_OFFSET_TABLE_-(.L_GOT_OFF+8)
+	.word _GLOBAL_OFFSET_TABLE_ - .L_GOT
 	.word __libc_csu_fini(GOT)
 	.word __libc_csu_init(GOT)
 	.word main(GOT)