OSDN Git Service

2006-05-08 Eric Christopher <echristo@apple.com>
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 May 2006 22:16:31 +0000 (22:16 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 May 2006 22:16:31 +0000 (22:16 +0000)
        * unwind-dw2-fde-darwin.c (examine_objects): Only check data
        section for ppc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113634 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/unwind-dw2-fde-darwin.c

index e685cdb..c2223f4 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-08  Eric Christopher  <echristo@apple.com>
+
+       * unwind-dw2-fde-darwin.c (examine_objects): Only check data
+       section for ppc.
+
 2006-05-08  Jan Hubicka  <jh@suse.cz>
 
        PR middle-end/25962
@@ -59,7 +64,7 @@
 2006-05-07  Mircea Namolaru  <namolaru@il.ibm.com>
 
         * opts.c (flag_see): remove its setting at -O3.
-       
+
 2006-05-07  Richard Earnshaw  <rearnsha@arm.com>
 
        * genpeep.c (main): Make insn-peep.c depend on flags.h.
 2006-05-02  Andrew MacLeod  <amacleod@redhat.com>
 
        PR tree-optimization/27381
-       * tree-phinodes.c (remove_phi_arg_num): When moving a phi argument, 
+       * tree-phinodes.c (remove_phi_arg_num): When moving a phi argument,
        maintain the same immediate_use links.
-       * tree-ssa-operands.c (dump_immediate_uses_for): Show iteration marker 
+       * tree-ssa-operands.c (dump_immediate_uses_for): Show iteration marker
        node rather than segfaulting.
 
 2006-05-03  Jakub Jelinek  <jakub@redhat.com>
 2006-05-02  David Billinghurst <David.Billinghurst@riotinto.com>
 
        PR ada/27366
-       * ada/env.c (__gnat_clearenv): Use unsetenv() to clear environment 
+       * ada/env.c (__gnat_clearenv): Use unsetenv() to clear environment
        on Cygwin.
 
 2006-05-02  Jakub Jelinek  <jakub@redhat.com>
index 0e16371..cd238db 100644 (file)
@@ -152,18 +152,17 @@ examine_objects (void *pc, struct dwarf_eh_bases *bases, int dont_alloc)
   for (; image != NULL; image = image->next)
     if ((image->examined_p & EXAMINED_IMAGE_MASK) == 0)
       {
-       char *fde;
+       char *fde = NULL;
        unsigned long sz;
 
-#ifdef __ppc64__
-       fde = getsectdatafromheader_64 ((struct mach_header_64 *) image->mh,
-                                    "__DATA", "__eh_frame", &sz);
-#else
+       /* For ppc only check whether or not we have __DATA eh frames.  */
+#ifdef __ppc__
        fde = getsectdatafromheader (image->mh, "__DATA", "__eh_frame", &sz);
 #endif
+
        if (fde == NULL)
          {
-#ifdef __ppc64__
+#if __LP64__
            fde = getsectdatafromheader_64 ((struct mach_header_64 *) image->mh,
                                         "__TEXT", "__eh_frame", &sz);
 #else