gcc: ASM_COMMENT_START shouldn't be defined at the OS level.

* arm: ASM_COMMENT_START is defined in arm/aout.h.
* i386 and x86_64: define ASM_COMMENT_START.
* others: ASM_COMMENT_START is defined in ${arch}/${arch}.h.
This commit is contained in:
Jerome Duval 2012-03-31 17:43:19 +02:00
parent e9b8ca373a
commit 5bdd342ffa
4 changed files with 7 additions and 5 deletions

View File

@ -21,8 +21,7 @@
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (ARM Haiku/ELF)");
#undef ASM_COMMENT_START
#define ASM_COMMENT_START "@"
/* Unsigned chars produces much better code than signed. */
#define DEFAULT_SIGNED_CHAR 0

View File

@ -25,9 +25,6 @@ Boston, MA 02111-1307, USA. */
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#undef ASM_COMMENT_START
#define ASM_COMMENT_START " #"
#undef MCOUNT_NAME
#define MCOUNT_NAME "_mcount"

View File

@ -22,6 +22,9 @@ Boston, MA 02111-1307, USA. */
#define TARGET_VERSION fprintf (stderr, " (i386 Haiku/ELF)");
#undef ASM_COMMENT_START
#define ASM_COMMENT_START " #"
/* The SVR4 ABI for the i386 says that records and unions are returned
in memory. */
#undef DEFAULT_PCC_STRUCT_RETURN

View File

@ -26,6 +26,9 @@ Boston, MA 02111-1307, USA. */
#define TARGET_VERSION fprintf (stderr, " (i386 Haiku/ELF)");
#endif
#undef ASM_COMMENT_START
#define ASM_COMMENT_START " #"
/* The SVR4 ABI for the i386 says that records and unions are returned
* in memory.
*