diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-03-29 11:49:10 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-03-29 04:49:10 -0700 |
commit | 40c3a857ac683f57ceed57434713f1c0a47daa19 (patch) | |
tree | 13bb2e32e778c855eb0f055e99d1dc5ee5e09e27 /gcc | |
parent | c80150b791b9c387d3624f6767f299d86d65df84 (diff) | |
download | gcc-40c3a857ac683f57ceed57434713f1c0a47daa19.zip gcc-40c3a857ac683f57ceed57434713f1c0a47daa19.tar.gz gcc-40c3a857ac683f57ceed57434713f1c0a47daa19.tar.bz2 |
* collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
From-SVN: r18892
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/collect2.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54e39f4..a162ea8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com) + * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef. + * local-alloc.c (reg_classes_overlap_p): Delete dead function. * tree.h (lang_print_xnode): Provide prototype. diff --git a/gcc/collect2.c b/gcc/collect2.c index 169c3be..4e462d9 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -293,7 +293,6 @@ static void add_to_list PROTO((struct head *, char *)); static void write_list PROTO((FILE *, char *, struct id *)); static void dump_list PROTO((FILE *, char *, struct id *)); static void dump_prefix_list PROTO((FILE *, char *, struct prefix_list *)); -static int is_in_list PROTO((char *, struct id *)); static void write_list_with_asm PROTO((FILE *, char *, struct id *)); static void write_c_file PROTO((FILE *, char *)); static void scan_prog_file PROTO((char *, enum pass)); @@ -301,6 +300,7 @@ static void scan_prog_file PROTO((char *, enum pass)); static void scan_libraries PROTO((char *)); #endif #ifdef COLLECT_EXPORT_LIST +static int is_in_list PROTO((char *, struct id *)); static void write_export_file PROTO((FILE *)); static void write_import_file PROTO((FILE *)); static char *resolve_lib_name PROTO((char *)); @@ -1871,6 +1871,7 @@ write_list (stream, prefix, list) } } +#ifdef COLLECT_EXPORT_LIST /* This function is really used only on AIX, but may be useful. */ static int is_in_list (prefix, list) @@ -1884,6 +1885,7 @@ is_in_list (prefix, list) } return 0; } +#endif /* Added for debugging purpose. */ static void |