This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
PATCH: Fix a typo in SYSCALL_PIC_SETUP in sysdeps/i386/sysdep.h
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 21 Jun 2012 09:58:44 -0700
- Subject: PATCH: Fix a typo in SYSCALL_PIC_SETUP in sysdeps/i386/sysdep.h
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
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