summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-08 21:21:48 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-08 21:21:48 +0000
commit8419ceab2f551866a67c11e3ea73829869901d5e (patch)
tree3ae9623c91a1bd58336533000a1f0b3632555fd4
parentecc35bdf9530ab94881d3f9e150029bf2335d599 (diff)
downloadppe42-gcc-8419ceab2f551866a67c11e3ea73829869901d5e.tar.gz
ppe42-gcc-8419ceab2f551866a67c11e3ea73829869901d5e.zip
* toplev.c (output_file_directive): Use DIR_SEPARATOR, not '/'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22938 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/toplev.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f643a2d1c5..4878aa2b2e4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -13,6 +13,8 @@ Thu Oct 8 17:00:18 1998 Richard Henderson <rth@cygnus.com>
Thu Oct 8 17:15:04 1998 Jeffrey A Law (law@cygnus.com)
+ * toplev.c (output_file_directive): Use DIR_SEPARATOR, not '/'.
+
* cpplib.h: Protect from multiple inclusions.
* cpplib.c: Fix minor formatting problems.
diff --git a/gcc/toplev.c b/gcc/toplev.c
index e2ddcaf4067..c3269f4edd0 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2389,7 +2389,7 @@ output_file_directive (asm_file, input_name)
/* NA gets INPUT_NAME sans directory names. */
while (na > input_name)
{
- if (na[-1] == '/')
+ if (na[-1] == DIR_SEPARATOR)
break;
na--;
}
OpenPOWER on IntegriCloud