summaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-24 06:17:07 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-24 06:17:07 +0000
commit7d6171f260fff5ad36db704c46d93166ab123b25 (patch)
tree158cf50046eaac97425a94833a0a484ea974467a /gcc/config/sparc
parent86ce8bf83ad6e2d2a3dcc7ca9b143b421a6ed562 (diff)
downloadgcc-7d6171f260fff5ad36db704c46d93166ab123b25.tar.gz
* config.gcc (sparc64-*-solaris2*): Include sparc/sol2-gas.h
if the GNU assembler is used. (sparc-*-solaris2*): Likewise. * dbxout.c (NO_DBX_BNSYM_ENSYM): Default to zero. (dbxout_function_end): Protect N_ENSYM with it. (dbxout_begin_prologue): Protect N_BNSYM with it. * doc/tm.texi (NO_DBX_BNSYM_ENSYM): Document it. * config/sparc/sol2.h (NO_DBX_BNSYM_ENSYM): Define to 1. * config/sparc/sol2-gas.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88013 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/sol2-gas.h5
-rw-r--r--gcc/config/sparc/sol2.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/sparc/sol2-gas.h b/gcc/config/sparc/sol2-gas.h
new file mode 100644
index 00000000000..7e808f7acaf
--- /dev/null
+++ b/gcc/config/sparc/sol2-gas.h
@@ -0,0 +1,5 @@
+/* Definitions of target machine for GCC, for SPARC running Solaris 2
+ using the GNU assembler. */
+
+/* Undefine this so that BNSYM/ENSYM pairs are emitted by STABS+. */
+#undef NO_DBX_BNSYM_ENSYM
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index a218ccdceae..8b5edb070c9 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/sparc/sol2.h
@@ -108,6 +108,9 @@ Boston, MA 02111-1307, USA. */
} \
while (0)
+/* The Solaris assembler cannot grok .stabd directives. */
+#undef NO_DBX_BNSYM_ENSYM
+#define NO_DBX_BNSYM_ENSYM 1
#undef ENDFILE_SPEC