aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-10-15 16:50:47 +0000
committerIan Lance Taylor <ian@airs.com>1999-10-15 16:50:47 +0000
commitb059661ec638e9ca82292a0324616aa79942f7d4 (patch)
tree2371873ef16b87850e2f2aae92530040b234da7b /binutils
parentc388dee89bc49429e1ed21a4fd4c3d5e9da21798 (diff)
downloadgdb-b059661ec638e9ca82292a0324616aa79942f7d4.zip
gdb-b059661ec638e9ca82292a0324616aa79942f7d4.tar.gz
gdb-b059661ec638e9ca82292a0324616aa79942f7d4.tar.bz2
* ar.c (normalize): Fix full_pathname code.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/ar.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 1273c36..a5cf84c 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+1999-10-15 Ian Lance Taylor <ian@zembu.com>
+
+ * ar.c (normalize): Fix full_pathname code.
+
1999-10-08 Ben Elliston <bje@cygnus.com>
* binutils.texi: Some rewording and clarifications.
diff --git a/binutils/ar.c b/binutils/ar.c
index bdc5103..ad9e59d 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -299,7 +299,7 @@ normalize (file, abfd)
const char *filename;
if (full_pathname)
- return filename;
+ return file;
filename = strrchr (file, '/');
if (filename != (char *) NULL)