1 /* Definitions for AMD x86-64 running FreeBSD with ELF format
2 Copyright (C) 2002, 2004, 2007 Free Software Foundation, Inc.
3 Contributed by David O'Brien <obrien@FreeBSD.org>
4 Adapted from the FreeBSD version.
6 This file is part of GCC.
8 GCC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
13 GCC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3. If not see
20 <http://www.gnu.org/licenses/>. */
24 #define TARGET_VERSION fprintf (stderr, " (x86-64 DragonFly/ELF)");
26 /* Tell final.c that we don't need a label passed to mcount. */
29 #define MCOUNT_NAME ".mcount"
31 #define SUBTARGET_EXTRA_SPECS \
32 { "dfbsd_dynamic_linker", DFBSD_DYNAMIC_LINKER }
34 /* Provide a LINK_SPEC appropriate for the DragonFly/x86-64 ELF target.
35 This is a copy of LINK_SPEC from <i386/dragonfly.h> tweaked for
37 XXX We don't support two arch userland yet */
41 %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
43 %{assert*} %{R*} %{rpath*} %{defsym*} \
44 %{shared:-Bshareable %{h*} %{soname*}} \
47 %{rdynamic:-export-dynamic} \
48 %{!dynamic-linker:-dynamic-linker %(dfbsd_dynamic_linker) }} \
50 %{symbolic:-Bsymbolic}" \
51 DFBSD_NATIVE_LINK_SPEC