comparison gcc/config/i386/freebsd64.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 for AMD x86-64 running FreeBSD with ELF format 1 /* Definitions for AMD x86-64 running FreeBSD with ELF format
2 Copyright (C) 2002, 2004, 2007, 2010, 2011 Free Software Foundation, Inc. 2 Copyright (C) 2002-2017 Free Software Foundation, Inc.
3 Contributed by David O'Brien <obrien@FreeBSD.org> 3 Contributed by David O'Brien <obrien@FreeBSD.org>
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see 18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */ 19 <http://www.gnu.org/licenses/>. */
20 20
21 21
22 #undef TARGET_VERSION
23 #define TARGET_VERSION fprintf (stderr, " (FreeBSD/x86-64 ELF)");
24
25 #define SUBTARGET_EXTRA_SPECS \ 22 #define SUBTARGET_EXTRA_SPECS \
26 { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER } 23 { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
27 24
28 #undef CC1_SPEC 25 #undef CC1_SPEC
29 #define CC1_SPEC "%(cc1_cpu) %{profile:-p}" 26 #define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
33 the x86-64 target. */ 30 the x86-64 target. */
34 31
35 #undef LINK_SPEC 32 #undef LINK_SPEC
36 #define LINK_SPEC "\ 33 #define LINK_SPEC "\
37 %{m32:-m elf_i386_fbsd} \ 34 %{m32:-m elf_i386_fbsd} \
35 %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
38 %{v:-V} \ 36 %{v:-V} \
39 %{assert*} %{R*} %{rpath*} %{defsym*} \ 37 %{assert*} %{R*} %{rpath*} %{defsym*} \
40 %{shared:-Bshareable %{h*} %{soname*}} \ 38 %{shared:-Bshareable %{h*} %{soname*}} \
41 %{!shared: \ 39 %{!shared: \
42 %{!static: \ 40 %{!static: \