mirror of git://sourceware.org/git/glibc.git
Update.
2004-02-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i686/memcmp.S: Move table to .rodata. Patch by HJ Lu.
This commit is contained in:
parent
49ad572a70
commit
f8fbb4c451
|
@ -1,3 +1,7 @@
|
||||||
|
2004-02-28 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/i386/i686/memcmp.S: Move table to .rodata. Patch by HJ Lu.
|
||||||
|
|
||||||
2004-02-27 Jakub Jelinek <jakub@redhat.com>
|
2004-02-27 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* elf/rtld.c (dl_main): Adjust l->l_ld of the vDSO by l->l_addr.
|
* elf/rtld.c (dl_main): Adjust l->l_ld of the vDSO by l->l_addr.
|
||||||
|
|
|
@ -32,13 +32,13 @@
|
||||||
/* Load an entry in a jump table into EBX. TABLE is a jump table
|
/* Load an entry in a jump table into EBX. TABLE is a jump table
|
||||||
with relative offsets. INDEX is a register contains the index
|
with relative offsets. INDEX is a register contains the index
|
||||||
into the jump table. */
|
into the jump table. */
|
||||||
#define LOAD_JUMP_TABLE_ENTRY(TABLE, INDEX) \
|
#define LOAD_JUMP_TABLE_ENTRY(TABLE, INDEX) \
|
||||||
/* We first load PC into EBX. */ \
|
/* We first load PC into EBX. */ \
|
||||||
call __i686.get_pc_thunk.bx; \
|
call __i686.get_pc_thunk.bx; \
|
||||||
/* Get the address of the jump table. */ \
|
/* Get the address of the jump table. */ \
|
||||||
addl $(TABLE - .), %ebx; \
|
addl $(TABLE - .), %ebx; \
|
||||||
/* Get the entry and convert the relative offset to the \
|
/* Get the entry and convert the relative offset to the \
|
||||||
absolute address. */ \
|
absolute address. */ \
|
||||||
addl (%ebx,INDEX,4), %ebx
|
addl (%ebx,INDEX,4), %ebx
|
||||||
|
|
||||||
#ifdef HAVE_HIDDEN
|
#ifdef HAVE_HIDDEN
|
||||||
|
@ -351,6 +351,7 @@ L(set):
|
||||||
popl %esi
|
popl %esi
|
||||||
RETURN
|
RETURN
|
||||||
|
|
||||||
|
.section .rodata
|
||||||
ALIGN (2)
|
ALIGN (2)
|
||||||
L(table_32bytes) :
|
L(table_32bytes) :
|
||||||
.long L(0bytes) - . + 0x0
|
.long L(0bytes) - . + 0x0
|
||||||
|
|
Loading…
Reference in New Issue