about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-03-17 12:09:12 +0000
committerAndreas Jaeger <aj@suse.de>2002-03-17 12:09:12 +0000
commit7f0244deedca55b65c74130fcc940ceb20c74516 (patch)
tree794018fb89ae5e7ae75ae106da7a6708665d89f2 /sysdeps
parent9ea502f95ca8fb4e744e354030292d1c3f34a485 (diff)
downloadglibc-7f0244deedca55b65c74130fcc940ceb20c74516.tar.gz
glibc-7f0244deedca55b65c74130fcc940ceb20c74516.tar.xz
glibc-7f0244deedca55b65c74130fcc940ceb20c74516.zip
Update.
2002-03-17  Andreas Jaeger  <aj@suse.de>

	* sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits.

	* sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment.

	* sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause
	bits.

	* sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New.
	(CAUSE_SHIFT): New.
	Patch by Hartvig Ekner <hartvige@mips.com>.

        * sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes.
        * sysdeps/generic/unwind-pe.h: Likewise.

        * libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct
        type to _IO_setb.

	* libio/stdio.c (AL2): Define variant when visibility attribute is
	not supported.

	* include/libc-symbols.h (_INTVARDEF): Define variant when
	visibility attribute is not supported.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/unwind-dw2-fde-glibc.c6
-rw-r--r--sysdeps/generic/unwind-pe.h12
2 files changed, 15 insertions, 3 deletions
diff --git a/sysdeps/generic/unwind-dw2-fde-glibc.c b/sysdeps/generic/unwind-dw2-fde-glibc.c
index 05344cba98..2f7517441c 100644
--- a/sysdeps/generic/unwind-dw2-fde-glibc.c
+++ b/sysdeps/generic/unwind-dw2-fde-glibc.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    Contributed by Jakub Jelinek <jakub@redhat.com>.
 
    This file is part of GNU CC.
@@ -44,7 +44,9 @@
 
 #undef _Unwind_Find_FDE
 
-fde * _Unwind_Find_registered_FDE (void *pc, struct dwarf_eh_bases *bases);
+extern fde * _Unwind_Find_registered_FDE (void *pc,
+					  struct dwarf_eh_bases *bases);
+extern fde * _Unwind_Find_FDE (void *, struct dwarf_eh_bases *);
 
 struct unw_eh_callback_data
 {
diff --git a/sysdeps/generic/unwind-pe.h b/sysdeps/generic/unwind-pe.h
index e4a564e3e1..9a031c1f32 100644
--- a/sysdeps/generic/unwind-pe.h
+++ b/sysdeps/generic/unwind-pe.h
@@ -1,5 +1,5 @@
 /* Exception handling and frame unwind runtime interface routines.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
 
    This file is part of GNU CC.
 
@@ -52,6 +52,16 @@
 #define DW_EH_PE_indirect	0x80
 
 
+#ifdef _LIBC
+/* Prototypes.  */
+extern unsigned int size_of_encoded_value (unsigned char encoding);
+extern const unsigned char *read_encoded_value_with_base
+  (unsigned char encoding, _Unwind_Ptr base,
+   const unsigned char *p, _Unwind_Ptr *val);
+#endif
+
+
+
 /* Given an encoding, return the number of bytes the format occupies.
    This is only defined for fixed-size encodings, and so does not
    include leb128.  */