diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2009-01-29 16:06:53 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2009-01-29 16:06:53 +0000 |
commit | e9e077faa27a5ec9fda529e5a7c580a358ae21d2 (patch) | |
tree | 6d21dc16af6638c7d7cf97fca01e03b508eae901 /gcc | |
parent | 2af2dbdc6816c47aa6bc96976a4416fde370ea55 (diff) | |
download | gcc-e9e077faa27a5ec9fda529e5a7c580a358ae21d2.zip gcc-e9e077faa27a5ec9fda529e5a7c580a358ae21d2.tar.gz gcc-e9e077faa27a5ec9fda529e5a7c580a358ae21d2.tar.bz2 |
* config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
(ASM_OUTPUT_DWARF_PCREL): Define.
From-SVN: r143758
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/sol2-10.h | 11 |
2 files changed, 15 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1a83aea..a7fc861 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-01-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> + + * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA] + (ASM_OUTPUT_DWARF_PCREL): Define. + 2008-01-29 Vladimir Makarov <vmakarov@redhat.com> * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description. diff --git a/gcc/config/i386/sol2-10.h b/gcc/config/i386/sol2-10.h index bd5c637..6e7f13d 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 |