diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc')
5 files changed, 29 insertions, 12 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S index 0c04df5119..baade0bfc1 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S @@ -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) diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S index 9f34357deb..5615718e11 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S @@ -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) diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c index edc21f69cd..c97bbbe879 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c @@ -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); diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S index 16d5a3b745..ea0669d24b 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S @@ -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) diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S index 607f282a9a..1bf3f516b1 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S @@ -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) |