From ab8dc78f717d875a18d24719f35e1d21d69aa2c9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 21 Apr 2004 23:12:39 +0000 Subject: Update. 2004-04-21 Ulrich Drepper * sysdeps/unix/sysv/linux/ia64/setjmp.S: Define _GI___sigsetjmp and use it internally instead of __sigsetjmp. * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Use _GI___libm_frexp_4f. * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Use _GI___libm_frexp_4l. * sysdeps/ia64/fpu/libm_frexp4.S: Define _GI___libm_frexp_4. * sysdeps/ia64/fpu/libm_frexp4f.S: Define _GI___libm_frexp_4f. * sysdeps/ia64/fpu/libm_frexp4l.S: Define _GI___libm_frexp_4l. * sysdeps/ia64/fpu/s_frexp.c (frexp): Use _GI___libm_frexp_4. * sysdeps/ia64/fpu/libm_support.h: Declare _GI___libm_frexp_4, _GI___libm_frexp_4f, _GI___libm_frexp_4l. * sysdeps/ia64/fpu/bits/mathinline.h: New file. * sysdeps/unix/sysv/linux/ia64/__start_context.S: Use HIDDEN_JUMPTARGET for exit call. * sysdeps/unix/sysv/linux/ia64/clone2.S: Use HIDDEN_JUMPTARGET for _exit call. * sysdeps/ia64/bcopy.S: Use HIDDEN_JUMPTARGET for memmove call. * sysdeps/ia64/strcat.S: Use HIDDEN_JUMPTARGET for strlen and strcpy calls. --- sysdeps/unix/sysv/linux/ia64/__start_context.S | 4 ++-- sysdeps/unix/sysv/linux/ia64/clone2.S | 7 ++++--- sysdeps/unix/sysv/linux/ia64/setjmp.S | 7 ++++--- 3 files changed, 10 insertions(+), 8 deletions(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/ia64/__start_context.S b/sysdeps/unix/sysv/linux/ia64/__start_context.S index 8662f5f..519bd25 100644 --- a/sysdeps/unix/sysv/linux/ia64/__start_context.S +++ b/sysdeps/unix/sysv/linux/ia64/__start_context.S @@ -1,4 +1,4 @@ -/* Copyright (C) 2001 Free Software Foundation, Inc. +/* Copyright (C) 2001, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Mosberger-Tang . @@ -46,7 +46,7 @@ ENTRY(__start_context) (p6) br.call.sptk rp = __setcontext .Lexit: mov out0 = 0 - br.call.sptk rp = exit + br.call.sptk rp = HIDDEN_JUMPTARGET(exit) 1: br.cond.sptk .Lexit END(__start_context) diff --git a/sysdeps/unix/sysv/linux/ia64/clone2.S b/sysdeps/unix/sysv/linux/ia64/clone2.S index 968d1e8..af5e009 100644 --- a/sysdeps/unix/sysv/linux/ia64/clone2.S +++ b/sysdeps/unix/sysv/linux/ia64/clone2.S @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2001, 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 @@ -72,8 +72,9 @@ ENTRY(__clone2) br.call.dptk.many rp=b6 /* Call fn(arg) in the child */ ;; mov out0=r8 /* Argument to _exit */ - .globl _exit - br.call.dpnt.many rp=_exit /* call _exit with result from fn. */ + .globl HIDDEN_JUMPTARGET(_exit) + br.call.dpnt.many rp=HIDDEN_JUMPTARGET(_exit) + /* call _exit with result from fn. */ ret /* Not reached. */ PSEUDO_END(__clone2) diff --git a/sysdeps/unix/sysv/linux/ia64/setjmp.S b/sysdeps/unix/sysv/linux/ia64/setjmp.S index 6fbd205..9c987c7 100644 --- a/sysdeps/unix/sysv/linux/ia64/setjmp.S +++ b/sysdeps/unix/sysv/linux/ia64/setjmp.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. Contributed by David Mosberger-Tang . The GNU C Library is free software; you can redistribute it and/or @@ -72,13 +72,13 @@ LEAF(setjmp) alloc r8=ar.pfs,2,0,0,0 mov in1=1 - br.cond.sptk.many __sigsetjmp + br.cond.sptk.many _GI___sigsetjmp END(setjmp) LEAF(_setjmp) alloc r8=ar.pfs,2,0,0,0 mov in1=0 - br.cond.sptk.many __sigsetjmp + br.cond.sptk.many _GI___sigsetjmp END(_setjmp) libc_hidden_def (_setjmp) @@ -177,6 +177,7 @@ ENTRY(__sigsetjmp) mov r8=0 ret END(__sigsetjmp) +strong_alias(__sigsetjmp, _GI___sigsetjmp) weak_extern(_setjmp) weak_extern(setjmp) -- cgit v1.1