backport: sol2.h (NO_DBX_BNSYM_ENSYM): Define.
Backport from mainline: 2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * 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: r160175
This commit is contained in:
parent
f52a1541b9
commit
11b35a1af6
|
@ -1,3 +1,12 @@
|
|||
2010-06-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
Backport from mainline:
|
||||
2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* config/i386/sol2.h (NO_DBX_BNSYM_ENSYM): Define.
|
||||
* config/i386/sol2-gas.h: New file.
|
||||
* config.gcc (i[34567]86-*-solaris2*): Use it.
|
||||
|
||||
2010-06-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
Backport from mainline:
|
||||
|
|
|
@ -1177,6 +1177,9 @@ i[34567]86-*-solaris2*)
|
|||
;;
|
||||
esac
|
||||
tm_file="${tm_file} i386/sol2.h"
|
||||
if test x$gas = xyes; then
|
||||
tm_file="${tm_file} i386/sol2-gas.h"
|
||||
fi
|
||||
tmake_file="${tmake_file} t-sol2 t-svr4"
|
||||
c_target_objs="${c_target_objs} sol2-c.o"
|
||||
cxx_target_objs="${cxx_target_objs} sol2-c.o"
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue