OSDN Git Service

2010-12-09 Yao Qi <yao@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / gcc / config / sol2-gld.h
1 /* Definitions of target machine for GCC, for any machine running Solaris 2
2    using the GNU linker.
3
4    Copyright (C) 2002, 2010 Free Software Foundation, Inc.
5
6 This file is part of GCC.
7
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)
11 any later version.
12
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.
17
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/>.  */
21
22 /* Undefine this so that attribute((init_priority)) works.  */
23 #undef CTORS_SECTION_ASM_OP
24 #undef DTORS_SECTION_ASM_OP
25
26 #undef SUPPORTS_INIT_PRIORITY
27 #define SUPPORTS_INIT_PRIORITY 1
28
29 /* GNU ld needs --export-dynamic to implement -rdynamic.  */
30 #undef RDYNAMIC_SPEC
31 #define RDYNAMIC_SPEC "--export-dynamic"