This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Use of NEED_DL_SYSINFO


Hello,

In sysdeps/generic/libc-start.c there is some code protected by
NEED_DL_SYSINFO that registers unwind tables, but IA64 does not need
this.  While this does not matter for current IA64 builds, I have a
fast syscall patch I am testing that it breaks.  I only mention it
because I think NEED_DL_SYSINFO should be fairly architecture
independent.

as always suggested patch provided.

-i
ianw at gelato dot unsw dot edu dot au
http://www.gelato.unsw.edu.au

Index: sysdeps/generic/libc-start.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/generic/libc-start.c,v
retrieving revision 1.43
diff -u -r1.43 libc-start.c
--- sysdeps/generic/libc-start.c        16 Apr 2003 03:06:31 -0000      1.43
+++ sysdeps/generic/libc-start.c        22 Apr 2003 01:04:34 -0000
@@ -28,7 +28,7 @@
 extern int __libc_multiple_libcs;
 extern void *__libc_stack_end;
  
-#ifdef NEED_DL_SYSINFO
+#if ((defined NEED_DL_SYSINFO) && (!defined __ia64__))
 # include "unwind-dw2-fde.h"
 extern __typeof (__register_frame_info_bases)
      INTUSE(__register_frame_info_bases);
@@ -157,7 +157,7 @@
     __libc_check_standard_fds ();
 #endif
  
-#ifdef NEED_DL_SYSINFO
+#if ((defined NEED_DL_SYSINFO) && (!defined __ia64__))
   /* Register the kernel's unwind table.  */
   if (GL(dl_sysinfo_eh_frame) != 0)
     INTUSE(__register_frame_info_bases) ((void *) GL(dl_sysinfo_eh_frame),


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]