re PR target/15178 (Solaris 9/x86 fails linking after stage 3)

PR target/15178
	* config/i386/sol2.h (ASM_OUTPUT_DEF_FROM_DECLS): Define.

From-SVN: r83117
This commit is contained in:
Jakub Jelinek 2004-06-14 19:31:27 +02:00 committed by Jakub Jelinek
parent bc20e36d16
commit 2517849840
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-06-14 Jakub Jelinek <jakub@redhat.com>
PR target/15178
* config/i386/sol2.h (ASM_OUTPUT_DEF_FROM_DECLS): Define.
2004-06-14 Paul Brook <paul@codesourcery.com> 2004-06-14 Paul Brook <paul@codesourcery.com>
* dwarf2out.c (output_call_frame_info): Support dwarf3 cie entries. * dwarf2out.c (output_call_frame_info): Support dwarf3 cie entries.

View File

@ -64,3 +64,18 @@ Boston, MA 02111-1307, USA. */
/* The Solaris assembler does not support .quad. Do not use it. */ /* The Solaris assembler does not support .quad. Do not use it. */
#undef ASM_QUAD #undef ASM_QUAD
/* The Solaris assembler wants a .local for non-exported aliases. */
#define ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL, TARGET) \
do { \
const char *declname = \
IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (DECL)); \
ASM_OUTPUT_DEF ((FILE), declname, \
IDENTIFIER_POINTER (TARGET)); \
if (! TREE_PUBLIC (DECL)) \
{ \
fprintf ((FILE), "%s", LOCAL_ASM_OP); \
assemble_name ((FILE), declname); \
fprintf ((FILE), "\n"); \
} \
} while (0)