unwind-dw2-fde-darwin.c corrections

Geoffrey Keating geoffk@apple.com
Mon Oct 2 23:19:00 GMT 2006


On 02/10/2006, at 4:17 PM, Jack Howarth wrote:

> Geoff,
>     So should we have...
>
> #ifdef __ppc__
>    fde = getsectdatafromheader (image->mh, "__DATA", "__eh_frame",  
> &sz);
> #endif
> #ifdef __ppc64__
>    fde = getsectdatafromheader_64 ((struct mach_header_64 *)image- 
> >mh, "__DATA", "__eh_frame", &sz);
> #endif
>
> or does the check for __DATA eh frames have to only be done for 32- 
> bit Darwin PPC?

I'm pretty sure the existing code is correct.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2462 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20061002/acb9357b/attachment.p7s>


More information about the Gcc mailing list