From fb8cbd3cb710a0e96d7b50e93f6dc37873c399f2 Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Tue, 12 Sep 2006 17:29:05 +0000 Subject: [PATCH] target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef. * target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef. (TARGET_ASM_CLOSE_PAREN): Likewise. * config/alpha/osf5.h (TARGET_ASM_OPEN_PAREN): Define. (TARGET_ASM_CLOSE_PAREN): Likewise. From-SVN: r116898 --- gcc/ChangeLog | 7 +++++++ gcc/config/alpha/osf5.h | 6 +++++- gcc/target-def.h | 8 +++++++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0a87b0ee7531..f9a3097cc929 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2006-09-12 Roger Sayle + + * target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef. + (TARGET_ASM_CLOSE_PAREN): Likewise. + * config/alpha/osf5.h (TARGET_ASM_OPEN_PAREN): Define. + (TARGET_ASM_CLOSE_PAREN): Likewise. + 2006-09-12 Roger Sayle PR target/22223 diff --git a/gcc/config/alpha/osf5.h b/gcc/config/alpha/osf5.h index c6cd7ec6bba5..1926a3c2f1e3 100644 --- a/gcc/config/alpha/osf5.h +++ b/gcc/config/alpha/osf5.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for DEC Alpha on Tru64 5. - Copyright (C) 2000, 2001, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GCC. @@ -51,3 +51,7 @@ #undef TARGET_C99_FUNCTIONS #define TARGET_C99_FUNCTIONS 1 +/* The native assembler doesn't understand parenthesis. */ +#define TARGET_ASM_OPEN_PAREN "" +#define TARGET_ASM_CLOSE_PAREN "" + diff --git a/gcc/target-def.h b/gcc/target-def.h index ff2ce03969a2..74cf86583d74 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -1,5 +1,6 @@ /* Default initializers for a generic GCC target. - Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 + Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -30,8 +31,13 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. definition in a #ifndef, since files include tm.h before this one. */ /* Assembler output. */ +#ifndef TARGET_ASM_OPEN_PAREN #define TARGET_ASM_OPEN_PAREN "(" +#endif +#ifndef TARGET_ASM_CLOSE_PAREN #define TARGET_ASM_CLOSE_PAREN ")" +#endif + #define TARGET_ASM_BYTE_OP "\t.byte\t" #define TARGET_ASM_ALIGNED_HI_OP "\t.short\t" -- 2.47.2