unwind-dw2-fde-darwin.c corrections
Mike Stump
mrs@apple.com
Tue Oct 3 01:21:00 GMT 2006
On Oct 2, 2006, at 4:33 PM, Jack Howarth wrote:
> diff -uNr gcc-4.2-20061002/gcc/unwind-dw2-fde-darwin.c
> gcc-4.2-20061002.allocatable_unwind-dw2-fde-darwin/gcc/unwind-dw2-
> fde-darwin.c
> --- gcc-4.2-20061002/gcc/unwind-dw2-fde-darwin.c 2006-10-01
> 23:03:13.000000000 0400
> +++ gcc-4.2-20061002.allocatable_unwind-dw2-fde-darwin/gcc/unwind-
> dw2-fde-darwin.c 2006-10-02 19:24:03.000000000 -0400
> @@ -61,7 +61,7 @@
> struct mach_header_64;
> extern char *getsectdatafromheader (struct mach_header*, const char*,
> const char *, unsigned long *);
> -extern char *getsectdatafromheader_64 (struct mach_header*, const
> char*,
> +extern char *getsectdatafromheader_64 (struct mach_header_64*,
> const char*,
> const char *, unsigned long *);
>
We talked about this offline, and we decided that this was the right
thing to do, even though it can't influence any results, save getting
rid of the warning, so I checked it in.
I verified that the .o file before and after this change was byte
identical, just to be sure that it couldn't be responsible for any
change in behavior.
Jack, I put:
2006-10-02 Jack Howarth <howarth@bromo.med.uc.edu>
* unwind-dw2-fde-darwin.c (getsectdatafromheader_64): Fix first
arg to be struct mach_header_64* instead.
on it, let me know if you'd rather see something else. Thanks.
More information about the Gcc
mailing list