aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-12-04 02:05:31 +0000
committerDJ Delorie <dj@redhat.com>2002-12-04 02:05:31 +0000
commitb51c15537d15652542cd990a568eeb7e08c3073e (patch)
tree0b13ff129714d5fc165ceb1200141168ee61c011 /libiberty
parente2b9e2dc4df64fe730842a433da9e85f50152d65 (diff)
downloadgdb-b51c15537d15652542cd990a568eeb7e08c3073e.zip
gdb-b51c15537d15652542cd990a568eeb7e08c3073e.tar.gz
gdb-b51c15537d15652542cd990a568eeb7e08c3073e.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/make-relative-prefix.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index c58dc1f..7280aa0 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
+ Define for hosts with HOST_EXECUTABLE_SUFFIX.
+
2002-11-24 Nick Clifton <nickc@redhat.com>
* make-relative-prefix.c (make_relative_prefix): Ensure return
diff --git a/libiberty/make-relative-prefix.c b/libiberty/make-relative-prefix.c
index ef9177e..c208cdc 100644
--- a/libiberty/make-relative-prefix.c
+++ b/libiberty/make-relative-prefix.c
@@ -67,6 +67,7 @@ can be found, return @code{NULL}.
#if defined (_WIN32) || defined (__MSDOS__) \
|| defined (__DJGPP__) || defined (__OS2__)
# define HAVE_DOS_BASED_FILE_SYSTEM
+# define HAVE_HOST_EXECUTABLE_SUFFIX
# define HOST_EXECUTABLE_SUFFIX ".exe"
# ifndef DIR_SEPARATOR_2
# define DIR_SEPARATOR_2 '\\'