diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-29 11:49:10 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-29 11:49:10 +0000 |
commit | 82dc74ff0c62eb25102f45fb8a75f3ddb3405904 (patch) | |
tree | 13bb2e32e778c855eb0f055e99d1dc5ee5e09e27 /gcc | |
parent | 546033aac3cf90eba2ad1908f032119d511afeab (diff) | |
download | gcc-82dc74ff0c62eb25102f45fb8a75f3ddb3405904.tar.gz |
* collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18892 138bc75d-0d04-0410-961f-82ee72b054a4
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 54e39f48a8a..a162ea88fa3 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 169c3beda46..4e462d9d5f0 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 |