merge from gcc
This commit is contained in:
parent
002a34fa14
commit
67435a05ad
|
@ -1,3 +1,35 @@
|
||||||
|
2010-04-26 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* filenames.h (PATH_SEPARATOR): Delete.
|
||||||
|
|
||||||
|
2010-04-23 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
|
||||||
|
always define it independently of host, add `dos_based' parameter,
|
||||||
|
and handle it.
|
||||||
|
(PATH_SEPARATOR): Define.
|
||||||
|
(HAS_DRIVE_SPEC_1): Rename from HAS_DRIVE_SPEC, always define it
|
||||||
|
independently of host, add `dos_based' parameter, and handle it.
|
||||||
|
(IS_ABSOLUTE_PATH_1): Rename from IS_ABSOLUTE_PATH, always define
|
||||||
|
it independently of host, add `dos_based' parameter, and handle
|
||||||
|
it.
|
||||||
|
(IS_DOS_DIR_SEPARATOR, IS_DOS_ABSOLUTE_PATH)
|
||||||
|
(IS_UNIX_DIR_SEPARATOR, IS_UNIX_ABSOLUTE_PATH)
|
||||||
|
(HAS_DOS_DRIVE_SPEC): New.
|
||||||
|
(HAS_DRIVE_SPEC): Reimplement on top of HAS_DRIVE_SPEC_1.
|
||||||
|
(IS_DIR_SEPARATOR): Reimplement on top of IS_DIR_SEPARATOR_1.
|
||||||
|
(IS_ABSOLUTE_PATH): Reimplement on top of IS_ABSOLUTE_PATH_1.
|
||||||
|
* libiberty.h (dos_lbasename, unix_lbasename): Declare.
|
||||||
|
|
||||||
|
2009-05-31 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
* ansidecl.h: Add extern "C" when compiling with C++. Treat C++
|
||||||
|
the way we treat an ISO C compiler. Don't define inline as a
|
||||||
|
macro when compiling with C++.
|
||||||
|
* dyn-string.h: Add header guard DYN_STRING_H. Add extern "C"
|
||||||
|
when compiling with C++.
|
||||||
|
* fibheap.h: Add extern "C" when compiling with C++.
|
||||||
|
|
||||||
2010-04-23 Pedro Alves <pedro@codesourcery.com>
|
2010-04-23 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
|
* filenames.h (IS_DIR_SEPARATOR_1): Rename from IS_DIR_SEPARATOR,
|
||||||
|
|
|
@ -34,12 +34,10 @@ extern "C" {
|
||||||
# ifndef HAVE_DOS_BASED_FILE_SYSTEM
|
# ifndef HAVE_DOS_BASED_FILE_SYSTEM
|
||||||
# define HAVE_DOS_BASED_FILE_SYSTEM 1
|
# define HAVE_DOS_BASED_FILE_SYSTEM 1
|
||||||
# endif
|
# endif
|
||||||
# define PATH_SEPARATOR ';'
|
|
||||||
# define HAS_DRIVE_SPEC(f) HAS_DOS_DRIVE_SPEC (f)
|
# define HAS_DRIVE_SPEC(f) HAS_DOS_DRIVE_SPEC (f)
|
||||||
# define IS_DIR_SEPARATOR(c) IS_DOS_DIR_SEPARATOR (c)
|
# define IS_DIR_SEPARATOR(c) IS_DOS_DIR_SEPARATOR (c)
|
||||||
# define IS_ABSOLUTE_PATH(f) IS_DOS_ABSOLUTE_PATH (f)
|
# define IS_ABSOLUTE_PATH(f) IS_DOS_ABSOLUTE_PATH (f)
|
||||||
#else /* not DOSish */
|
#else /* not DOSish */
|
||||||
# define PATH_SEPARATOR ':'
|
|
||||||
# define HAS_DRIVE_SPEC(f) (0)
|
# define HAS_DRIVE_SPEC(f) (0)
|
||||||
# define IS_DIR_SEPARATOR(c) IS_UNIX_DIR_SEPARATOR (c)
|
# define IS_DIR_SEPARATOR(c) IS_UNIX_DIR_SEPARATOR (c)
|
||||||
# define IS_ABSOLUTE_PATH(f) IS_UNIX_ABSOLUTE_PATH (f)
|
# define IS_ABSOLUTE_PATH(f) IS_UNIX_ABSOLUTE_PATH (f)
|
||||||
|
|
Loading…
Reference in New Issue