diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2015-05-30 21:13:59 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2015-05-30 21:13:59 +0000 |
commit | 329be64b06b51c21981dc9aba66da805dc4398bf (patch) | |
tree | 939ed8411c661f6e8dcf7ab478a1cc1abfa98185 /gcc/ada/link.c | |
parent | c67e8801d95237cf126a5b8ad6c2f59fc92c455a (diff) | |
download | gcc-329be64b06b51c21981dc9aba66da805dc4398bf.zip gcc-329be64b06b51c21981dc9aba66da805dc4398bf.tar.gz gcc-329be64b06b51c21981dc9aba66da805dc4398bf.tar.bz2 |
adaint.c: Test for __linux__ instead of linux and __sun__ instead of sun.
* adaint.c: Test for __linux__ instead of linux and __sun__ instead
of sun. Add missing leading underscore to AIX. Remove #elif 0.
* adaint.h: Likewise.
* cio.c: Likewise.
* cstreams.c: Likewise.
* env.c: Likewise.
* gsocket.h: Likewise.
* init.c: Likewise. Test for __i386__ instead of i386.
* link.c: Likewise.
* s-oscons-tmplt.c: Likewise.
* sysdep.c: Likewise.
* terminals.c: Likewise. Use BSD symbol instead of FREEBSD.
* tracebak.c: Likewise. Test for __sparc__ instead of sparc.
From-SVN: r223890
Diffstat (limited to 'gcc/ada/link.c')
-rw-r--r-- | gcc/ada/link.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/link.c b/gcc/ada/link.c index ee591471..fa8ebb3 100644 --- a/gcc/ada/link.c +++ b/gcc/ada/link.c @@ -125,7 +125,7 @@ const char *__gnat_object_library_extension = ".a"; unsigned char __gnat_separate_run_path_options = 1; const char *__gnat_default_libgcc_subdir = "lib"; -#elif defined (linux) || defined(__GLIBC__) +#elif defined (__linux__) || defined (__GLIBC__) const char *__gnat_object_file_option = "-Wl,@"; const char *__gnat_run_path_option = "-Wl,-rpath,"; char __gnat_shared_libgnat_default = STATIC; @@ -183,7 +183,7 @@ const char *__gnat_object_library_extension = ".olb"; unsigned char __gnat_separate_run_path_options = 0; const char *__gnat_default_libgcc_subdir = "lib"; -#elif defined (sun) +#elif defined (__sun__) const char *__gnat_object_file_option = ""; const char *__gnat_run_path_option = "-Wl,-R"; char __gnat_shared_libgnat_default = STATIC; @@ -200,7 +200,7 @@ const char *__gnat_default_libgcc_subdir = "lib/amd64"; const char *__gnat_default_libgcc_subdir = "lib"; #endif -#elif defined (__svr4__) && defined (i386) +#elif defined (__svr4__) && defined (__i386__) const char *__gnat_object_file_option = ""; const char *__gnat_run_path_option = ""; char __gnat_shared_libgnat_default = STATIC; |