summaryrefslogtreecommitdiffstats
path: root/gcc/config/i386/sol2-10.h
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-29 16:06:53 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-29 16:06:53 +0000
commit53ae77bfa099b1a2baccbff5aedf06ab291bd181 (patch)
tree6d21dc16af6638c7d7cf97fca01e03b508eae901 /gcc/config/i386/sol2-10.h
parentcf709bf61c30958576df8b13df595dfcf242a10b (diff)
downloadppe42-gcc-53ae77bfa099b1a2baccbff5aedf06ab291bd181.tar.gz
ppe42-gcc-53ae77bfa099b1a2baccbff5aedf06ab291bd181.zip
* config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
(ASM_OUTPUT_DWARF_PCREL): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143758 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/sol2-10.h')
-rw-r--r--gcc/config/i386/sol2-10.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/config/i386/sol2-10.h b/gcc/config/i386/sol2-10.h
index bd5c63781af..6e7f13d8f26 100644
--- a/gcc/config/i386/sol2-10.h
+++ b/gcc/config/i386/sol2-10.h
@@ -1,5 +1,5 @@
/* Solaris 10 configuration.
- Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC.
This file is part of GCC.
@@ -39,6 +39,15 @@ along with GCC; see the file COPYING3. If not see
#ifndef HAVE_AS_IX86_DIFF_SECT_DELTA
#undef JUMP_TABLES_IN_TEXT_SECTION
#define JUMP_TABLES_IN_TEXT_SECTION 1
+
+/* The native Solaris assembler cannot handle the SYMBOL-. syntax, but
+ requires SYMBOL@rel/@rel64 instead. */
+#define ASM_OUTPUT_DWARF_PCREL(FILE, SIZE, LABEL) \
+ do { \
+ fputs (integer_asm_op (SIZE, FALSE), FILE); \
+ assemble_name (FILE, LABEL); \
+ fputs (SIZE == 8 ? "@rel64" : "@rel", FILE); \
+ } while (0)
#endif
#undef NO_PROFILE_COUNTERS
OpenPOWER on IntegriCloud