summaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
authorkhan <khan@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-07 00:16:51 +0000
committerkhan <khan@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-07 00:16:51 +0000
commitfadec241213f193c6e1ffcf2033412fe356de0de (patch)
tree76c2e81cb4ecf30110d84cedbc8ba3f93ead30be /gcc/collect2.c
parent485b043bb20973fe7095e9cf71803f331da18a34 (diff)
downloadgcc-fadec241213f193c6e1ffcf2033412fe356de0de.tar.gz
2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
* cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and IS_DIR_SEPARATOR macros. * collect2.c: Likewise. * cppinit.c: Likewise. * dwarf2out.c: Likewise. * gcc.c: Likewise. * gcov.c: Likewise. * prefix.c: Likewise. * rtl.c: Likewise. * toplev.c: Likewise. * system.h: And move to here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31264 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 18d7fb85a1e..bfab130b407 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -49,18 +49,6 @@ Boston, MA 02111-1307, USA. */
#include "obstack.h"
#include "intl.h"
-#ifndef DIR_SEPARATOR
-# define DIR_SEPARATOR '/'
-# define IS_DIR_SEPARATOR(ch) ((ch) == '/')
-#else /* DIR_SEPARATOR */
-# ifndef DIR_SEPARATOR_2
-# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
-# else /* DIR_SEPARATOR && DIR_SEPARATOR_2 */
-# define IS_DIR_SEPARATOR(ch) \
- (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
-# endif /* DIR_SEPARATOR && DIR_SEPARATOR_2 */
-#endif /* DIR_SEPARATOR */
-
/* Obstack allocation and deallocation routines. */
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
@@ -648,11 +636,6 @@ is_ctor_dtor (s)
return 0;
}
-/* By default, colon separates directories in a path. */
-#ifndef PATH_SEPARATOR
-#define PATH_SEPARATOR ':'
-#endif
-
/* We maintain two prefix lists: one from COMPILER_PATH environment variable
and one from the PATH variable. */