comparison gcc/config/alpha/linux-elf.h @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents f6334be47118
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* Definitions of target machine for GNU compiler 1 /* Definitions of target machine for GNU compiler
2 for Alpha Linux-based GNU systems using ELF. 2 for Alpha Linux-based GNU systems using ELF.
3 Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2006, 2007, 2010 3 Copyright (C) 1996-2017 Free Software Foundation, Inc.
4 Free Software Foundation, Inc.
5 Contributed by Richard Henderson. 4 Contributed by Richard Henderson.
6 5
7 This file is part of GCC. 6 This file is part of GCC.
8 7
9 GCC is free software; you can redistribute it and/or modify 8 GCC is free software; you can redistribute it and/or modify
18 17
19 You should have received a copy of the GNU General Public License 18 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING3. If not see 19 along with GCC; see the file COPYING3. If not see
21 <http://www.gnu.org/licenses/>. */ 20 <http://www.gnu.org/licenses/>. */
22 21
23 #undef TARGET_VERSION
24 #define TARGET_VERSION fprintf (stderr, " (Alpha GNU/Linux for ELF)");
25
26 #undef EXTRA_SPECS 22 #undef EXTRA_SPECS
27 #define EXTRA_SPECS \ 23 #define EXTRA_SPECS \
28 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, 24 { "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
29 25
30 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 26 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
34 #elif DEFAULT_LIBC == LIBC_GLIBC 30 #elif DEFAULT_LIBC == LIBC_GLIBC
35 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{muclibc:" U ";:" G "}" 31 #define CHOOSE_DYNAMIC_LINKER(G, U) "%{muclibc:" U ";:" G "}"
36 #else 32 #else
37 #error "Unsupported DEFAULT_LIBC" 33 #error "Unsupported DEFAULT_LIBC"
38 #endif 34 #endif
39 #define LINUX_DYNAMIC_LINKER \ 35 #define GNU_USER_DYNAMIC_LINKER \
40 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER) 36 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
41 37
42 #define ELF_DYNAMIC_LINKER LINUX_DYNAMIC_LINKER 38 #define ELF_DYNAMIC_LINKER GNU_USER_DYNAMIC_LINKER
43 39
44 #define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \ 40 #define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \
45 %{O*:-O3} %{!O*:-O1} \ 41 %{O*:-O3} %{!O*:-O1} \
46 %{shared:-shared} \ 42 %{shared:-shared} \
47 %{!shared: \ 43 %{!shared: \