Commit 90c92323 by Eric Christopher

unwind-dw2-fde-darwin.c (examine_objects): Only check data section for ppc.

2006-05-08  Eric Christopher  <echristo@apple.com>

        * unwind-dw2-fde-darwin.c (examine_objects): Only check data
        section for ppc.

From-SVN: r113634
parent 04f77d0f
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.
......@@ -210,9 +215,9 @@
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>
......@@ -284,7 +289,7 @@
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>
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment