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 <[EMAIL PROTECTED]>
* 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.