Index: collect2.c =================================================================== *** collect2.c (revision 148541) --- collect2.c (working copy) *************** main (int argc, char **argv) *** 1281,1287 **** /* The AIX linker will discard static constructors in object files if nothing else in the file is referenced, so look at them first. */ { ! const char **export_object_lst = (const char **)object_lst; while (export_object_lst < object) scan_prog_file (*export_object_lst++, PASS_OBJ); --- 1281,1288 ---- /* The AIX linker will discard static constructors in object files if nothing else in the file is referenced, so look at them first. */ { ! const char **export_object_lst ! = CONST_CAST2 (const char **, char **, object_lst); while (export_object_lst < object) scan_prog_file (*export_object_lst++, PASS_OBJ);