diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-11-04 02:47:36 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-11-04 02:47:36 +0000 |
commit | c3fb23f4412328c8079c4990059f7217302ea0d4 (patch) | |
tree | 0dfe5d961b89870d3763a5eaeb8c9233b72e2fa4 /gcc/collect2.c | |
parent | 55710451f2f81d39b82472cfb3d7be7bd4ea98a2 (diff) | |
download | gcc-c3fb23f4412328c8079c4990059f7217302ea0d4.zip gcc-c3fb23f4412328c8079c4990059f7217302ea0d4.tar.gz gcc-c3fb23f4412328c8079c4990059f7217302ea0d4.tar.bz2 |
Makefile.in (dbxout.o): Depend on function.h.
* Makefile.in (dbxout.o): Depend on function.h.
* collect2.c (is_in_list): Hide unused function.
* dbxout.c: Include function.h.
(source_label_number, dbxout_source_line, dbxout_source_file,
dbxout_function_end, dbxout_begin_function): Wrap/move inside
macros controlling usage.
* gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
* output.h (exports_section): Prototype.
From-SVN: r46759
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index 1bd8a45..5821dd1 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -300,7 +300,9 @@ static void scan_libraries PARAMS ((const char *)); static int is_in_args PARAMS ((const char *, const char **, const char **)); #endif #ifdef COLLECT_EXPORT_LIST +#if 0 static int is_in_list PARAMS ((const char *, struct id *)); +#endif static void write_aix_file PARAMS ((FILE *, struct id *)); static char *resolve_lib_name PARAMS ((const char *)); static int ignore_library PARAMS ((const char *)); @@ -1754,6 +1756,7 @@ is_in_args (string, args_begin, args_end) #ifdef COLLECT_EXPORT_LIST /* This function is really used only on AIX, but may be useful. */ +#if 0 static int is_in_list (prefix, list) const char *prefix; @@ -1767,6 +1770,7 @@ is_in_list (prefix, list) return 0; } #endif +#endif /* COLLECT_EXPORT_LIST */ /* Added for debugging purpose. */ #ifdef COLLECT_EXPORT_LIST |