2010-08-22 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / gcc / config / sol2-gld.h
blobcf020f9c13942fc3dbf298a2c4267305ae207564
1 /* Definitions of target machine for GCC, for any machine running Solaris 2
2 using the GNU linker.
4 Copyright (C) 2002, 2010 Free Software Foundation, Inc.
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)
11 any later version.
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/>. */
22 /* Undefine this so that attribute((init_priority)) works. */
23 #undef CTORS_SECTION_ASM_OP
24 #undef DTORS_SECTION_ASM_OP
26 #undef SUPPORTS_INIT_PRIORITY
27 #define SUPPORTS_INIT_PRIORITY 1
29 /* GNU ld needs --export-dynamic to implement -rdynamic. */
30 #undef RDYNAMIC_SPEC
31 #define RDYNAMIC_SPEC "--export-dynamic"