mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
2004-03-10 Jakub Jelinek <jakub@redhat.com> * include/libc-symbols.h [__ASSEMBLY__] (compat_text_section, compat_data_section): Define. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): Add attribute_compat_text_section. * sysdeps/unix/sysv/linux/alpha/wordexp.c (__old_wordexp): Likewise. * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob, __old_globfree): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown_is_lchown): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c (__posix_fadvise64_l32): Likewise. * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c (__posix_fadvise64_l32): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (__old_semctl): Likewise. * sysdeps/unix/sysv/linux/semctl.c (__old_semctl): Likewise. * sysdeps/unix/sysv/linux/posix_fadvise64.c (__posix_fadvise64_l32): Likewise. * sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl): Likewise. * hurd/compat-20.c (_hurd_proc_init_compat_20): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S (__swapcontext, __novec_swapcontext): Use END instead of PSEUDO_END. (__novec_swapcontext, __swapcontext_stub): Add compat_text_section. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S (__makecontext_stub): Likewise. (__novec_makecontext): Likewise. Fix name in END () to match function name. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S (__setcontext): Use END instead of PSEUDO_END. (__novec_setcontext): Add compat_text_section. Use END instead of PSEUDO_END, fix the name in END () to match function name. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S (__getcontext, __novec_getcontext): Use END instead of PSEUDO_END. (__novec_getcontext, __getcontext_stub): Add compat_text_section. 2004-03-10 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/dl-machine.h: Don't use GL macro if not appropriate. (COPY_UNALIGNED_WORD): Remove cast used as lvalue. 2004-03-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/dl-procinfo.h (HWCAP_IMPORTANT): Remove mmx, add sse2.
This commit is contained in:
@ -244,12 +244,13 @@ L(no_vec):
|
||||
addi r1,r1,16
|
||||
mtlr r0
|
||||
blr
|
||||
PSEUDO_END(__getcontext)
|
||||
END(__getcontext)
|
||||
|
||||
versioned_symbol (libc, __getcontext, getcontext, GLIBC_2_3_4)
|
||||
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)
|
||||
|
||||
compat_text_section
|
||||
ENTRY(__novec_getcontext)
|
||||
/*
|
||||
* Since we are not attempting to save the altivec registers,
|
||||
@ -355,7 +356,8 @@ ENTRY(__novec_getcontext)
|
||||
addi r1,r1,16
|
||||
mtlr r0
|
||||
blr
|
||||
PSEUDO_END(__novec_getcontext)
|
||||
END(__novec_getcontext)
|
||||
.previous
|
||||
|
||||
compat_symbol (libc, __novec_getcontext, getcontext, GLIBC_2_3_3)
|
||||
|
||||
@ -366,10 +368,12 @@ compat_symbol (libc, __novec_getcontext, getcontext, GLIBC_2_3_3)
|
||||
#define _ERRNO_H 1
|
||||
#include <bits/errno.h>
|
||||
|
||||
compat_text_section
|
||||
ENTRY (__getcontext_stub)
|
||||
li r3,ENOSYS
|
||||
b JUMPTARGET(__syscall_error)
|
||||
END (__getcontext_stub)
|
||||
END (__getcontext_stub)
|
||||
.previous
|
||||
|
||||
compat_symbol (libc, __getcontext_stub, getcontext, GLIBC_2_1)
|
||||
|
||||
|
@ -111,6 +111,7 @@ versioned_symbol (libc, __makecontext, makecontext, GLIBC_2_3_4)
|
||||
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)
|
||||
|
||||
compat_text_section
|
||||
ENTRY(__novec_makecontext)
|
||||
/* Set up the first 7 args to the function in its registers */
|
||||
addi r11,r3,_UC_REG_SPACE
|
||||
@ -191,7 +192,8 @@ L(novec_exitcode):
|
||||
4: bl HIDDEN_JUMPTARGET(exit)
|
||||
b 4b
|
||||
|
||||
END(__makecontext)
|
||||
END(__novec_makecontext)
|
||||
.previous
|
||||
|
||||
compat_symbol (libc, __novec_makecontext, makecontext, GLIBC_2_3_3)
|
||||
#endif
|
||||
@ -201,10 +203,12 @@ compat_symbol (libc, __novec_makecontext, makecontext, GLIBC_2_3_3)
|
||||
#define _ERRNO_H 1
|
||||
#include <bits/errno.h>
|
||||
|
||||
compat_text_section
|
||||
ENTRY (__makecontext_stub)
|
||||
li r3,ENOSYS
|
||||
b JUMPTARGET(__syscall_error)
|
||||
END (__makecontext_stub)
|
||||
END (__makecontext_stub)
|
||||
.previous
|
||||
|
||||
compat_symbol (libc, __makecontext_stub, makecontext, GLIBC_2_1)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -65,6 +65,7 @@ __posix_fadvise64_l64 (int fd, off64_t offset, off64_t len, int advise)
|
||||
#if SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)
|
||||
|
||||
int
|
||||
attribute_compat_text_section
|
||||
__posix_fadvise64_l32 (int fd, off64_t offset, size_t len, int advise)
|
||||
{
|
||||
return __posix_fadvise64_l64 (fd, offset, len, advise);
|
||||
|
@ -261,12 +261,13 @@ L(do_sigret):
|
||||
sc
|
||||
/* NOTREACHED */
|
||||
|
||||
PSEUDO_END (__setcontext)
|
||||
END (__setcontext)
|
||||
|
||||
versioned_symbol (libc, __setcontext, setcontext, GLIBC_2_3_4)
|
||||
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)
|
||||
|
||||
compat_text_section
|
||||
ENTRY(__novec_setcontext)
|
||||
mflr r0
|
||||
stwu r1,-16(r1)
|
||||
@ -388,7 +389,8 @@ L(novec_do_sigret):
|
||||
sc
|
||||
/* NOTREACHED */
|
||||
|
||||
PSEUDO_END (__setcontext)
|
||||
END (__novec_setcontext)
|
||||
.previous
|
||||
|
||||
compat_symbol (libc, __novec_setcontext, setcontext, GLIBC_2_3_3)
|
||||
|
||||
@ -399,10 +401,12 @@ compat_symbol (libc, __novec_setcontext, setcontext, GLIBC_2_3_3)
|
||||
#define _ERRNO_H 1
|
||||
#include <bits/errno.h>
|
||||
|
||||
compat_text_section
|
||||
ENTRY (__setcontext_stub)
|
||||
li r3,ENOSYS
|
||||
b JUMPTARGET(__syscall_error)
|
||||
END (__setcontext_stub)
|
||||
END (__setcontext_stub)
|
||||
.previous
|
||||
|
||||
compat_symbol (libc, __setcontext_stub, setcontext, GLIBC_2_1)
|
||||
|
||||
|
@ -467,12 +467,13 @@ L(do_sigret):
|
||||
sc
|
||||
/* NOTREACHED */
|
||||
|
||||
PSEUDO_END(__swapcontext)
|
||||
END(__swapcontext)
|
||||
|
||||
versioned_symbol (libc, __swapcontext, swapcontext, GLIBC_2_3_4)
|
||||
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)
|
||||
|
||||
compat_text_section
|
||||
ENTRY(__novec_swapcontext)
|
||||
/* Save the current context */
|
||||
addi r3,r3,_UC_REG_SPACE
|
||||
@ -682,7 +683,8 @@ L(novec_do_sigret):
|
||||
sc
|
||||
/* NOTREACHED */
|
||||
|
||||
PSEUDO_END(__novec_swapcontext)
|
||||
END(__novec_swapcontext)
|
||||
.previous
|
||||
|
||||
compat_symbol (libc, __novec_swapcontext, swapcontext, GLIBC_2_3_3)
|
||||
|
||||
@ -693,10 +695,12 @@ compat_symbol (libc, __novec_swapcontext, swapcontext, GLIBC_2_3_3)
|
||||
#define _ERRNO_H 1
|
||||
#include <bits/errno.h>
|
||||
|
||||
compat_text_section
|
||||
ENTRY (__swapcontext_stub)
|
||||
li r3,ENOSYS
|
||||
b JUMPTARGET(__syscall_error)
|
||||
END (__swapcontext_stub)
|
||||
END (__swapcontext_stub)
|
||||
.previous
|
||||
|
||||
compat_symbol (libc, __swapcontext_stub, swapcontext, GLIBC_2_1)
|
||||
|
||||
|
Reference in New Issue
Block a user