aboutsummaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
authorMark Elbrecht <snowball3@bigfoot.com>2000-08-04 16:19:19 +0000
committerJeff Law <law@gcc.gnu.org>2000-08-04 10:19:19 -0600
commit93284395b02210f59118783ba162e4544061751c (patch)
tree90cc1c32eb22a14f77dd68506630684be56db697 /gcc/prefix.c
parent326c5cd1b3b31f624d4ab7701bf2c0d6516b4ce0 (diff)
downloadgcc-93284395b02210f59118783ba162e4544061751c.zip
gcc-93284395b02210f59118783ba162e4544061751c.tar.gz
gcc-93284395b02210f59118783ba162e4544061751c.tar.bz2
x-djgpp: Delete code that conditionally modifies target_alias.
* i386/x-djgpp: Delete code that conditionally modifies target_alias. Delete code that conditionally modifies 'version'. Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR. * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro. * gcc.c (main): Use it. * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro. * prefix.c (update_path): Use it. * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define. (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'. (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing code. (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true. (SUBTARGET_SWITCHES): Adjust. (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before defining. (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define. From-SVN: r35484
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r--gcc/prefix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index a7336e0..1c98271 100644
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -298,6 +298,11 @@ update_path (path, key)
path = translate_name (path);
}
+#ifdef UPDATE_PATH_HOST_CANONICALIZE
+/* Perform host dependant canonicalization when needed. */
+UPDATE_PATH_HOST_CANONICALIZE (path, key);
+#endif
+
#ifdef DIR_SEPARATOR_2
/* Convert DIR_SEPARATOR_2 to DIR_SEPARATOR. */
if (DIR_SEPARATOR != DIR_SEPARATOR_2)