collect2.c (main): Guard object_nbr variable with TARGET_AIX_VERSION.

2011-11-03  Richard Guenther  <rguenther@suse.de>

	* collect2.c (main): Guard object_nbr variable with TARGET_AIX_VERSION.

From-SVN: r180826
This commit is contained in:
Richard Guenther 2011-11-03 14:24:59 +00:00 committed by Richard Biener
parent 290ebcb77f
commit fa66fc02ec
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-11-03 Richard Guenther <rguenther@suse.de>
* collect2.c (main): Guard object_nbr variable with TARGET_AIX_VERSION.
2011-11-03 Martin Jambor <mjambor@suse.cz>
* ipa-prop.c (type_change_info): New fields offset, object,

View File

@ -1091,7 +1091,9 @@ main (int argc, char **argv)
const char **ld2;
char **object_lst;
const char **object;
#ifdef TARGET_AIX_VERSION
int object_nbr = argc;
#endif
int first_file;
int num_c_args;
char **old_argv;