This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix a typo in SYSCALL_PIC_SETUP in sysdeps/i386/sysdep.h


Hi,

It should be _GLOBAL_OFFSET_TABLE_, not _GLOBAL_OFFSET_TABLE.  OK to
install?

BTW, we never saw it since it was never used on Linux/ia32 until we are
working on a patch to use SYSCALL_PIC_SETUP now.

Thanks.

H.J.
---
	[BZ #14278]
	* sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.

diff --git a/sysdeps/i386/sysdep.h b/sysdeps/i386/sysdep.h
index ba00d65..b31caab 100644
--- a/sysdeps/i386/sysdep.h
+++ b/sysdeps/i386/sysdep.h
@@ -160,7 +160,7 @@ GET_PC_THUNK(reg):							      \
     call 0f;								      \
 0:  popl %ebx;								      \
     cfi_adjust_cfa_offset (-4);						      \
-    addl $_GLOBAL_OFFSET_TABLE+[.-0b], %ebx;
+    addl $_GLOBAL_OFFSET_TABLE_+[.-0b], %ebx;
 
 #else
 #define JUMPTARGET(name)	name


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]