diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2010-02-24 13:57:20 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2010-02-24 13:57:20 +0000 |
commit | 68ba2afe7c6adca1800fb23278000880862bbf14 (patch) | |
tree | d94d3a26610551af6e7c74b16112f3ec406b17fd /gcc/config | |
parent | 2d2e923fc1052f4af08e3a2b1d3dadd847b8307e (diff) | |
download | gcc-68ba2afe7c6adca1800fb23278000880862bbf14.zip gcc-68ba2afe7c6adca1800fb23278000880862bbf14.tar.gz gcc-68ba2afe7c6adca1800fb23278000880862bbf14.tar.bz2 |
sol2.h (NO_DBX_BNSYM_ENSYM): Define.
* config/i386/sol2.h (NO_DBX_BNSYM_ENSYM): Define.
* config/i386/sol2-gas.h: New file.
* config.gcc (i[34567]86-*-solaris2*): Use it.
From-SVN: r157042
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/sol2-gas.h | 28 | ||||
-rw-r--r-- | gcc/config/i386/sol2.h | 6 |
2 files changed, 33 insertions, 1 deletions
diff --git a/gcc/config/i386/sol2-gas.h b/gcc/config/i386/sol2-gas.h new file mode 100644 index 0000000..c357396 --- /dev/null +++ b/gcc/config/i386/sol2-gas.h @@ -0,0 +1,28 @@ +/* Definitions of target machine for GCC, for x86 running Solaris 2 + using the GNU assembler. + +Copyright (C) 2010 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +<http://www.gnu.org/licenses/>. */ + +/* Undefine this so that BNSYM/ENSYM pairs are emitted by STABS+. */ +#undef NO_DBX_BNSYM_ENSYM diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h index f062280..00f1870 100644 --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -1,6 +1,6 @@ /* Target definitions for GCC for Intel 80386 running Solaris 2 Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2007, 2008, 2009 Free Software Foundation, Inc. + 2004, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. Contributed by Fred Fish (fnf@cygnus.com). This file is part of GCC. @@ -91,6 +91,10 @@ along with GCC; see the file COPYING3. If not see } \ } while (0) +/* The Solaris assembler cannot grok .stabd directives. */ +#undef NO_DBX_BNSYM_ENSYM +#define NO_DBX_BNSYM_ENSYM 1 + /* Solaris-specific #pragmas are implemented on top of attributes. Hook in the bits from config/sol2.c. */ #define SUBTARGET_INSERT_ATTRIBUTES solaris_insert_attributes |