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.
Diff
gcc/gcc/config/haiku.h | 3 ---
gcc/gcc/config/arm/haiku.h | 3 +--
gcc/gcc/config/i386/haiku.h | 3 +++
gcc/gcc/config/i386/haiku64.h | 3 +++
4 files changed, 7 insertions(+), 5 deletions(-)
@@ -25,9 +25,6 @@
#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"
@@ -21,8 +21,7 @@
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (ARM Haiku/ELF)");
#undef ASM_COMMENT_START
#define ASM_COMMENT_START "@"
#define DEFAULT_SIGNED_CHAR 0
@@ -22,6 +22,9 @@
#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
@@ -26,6 +26,9 @@
#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.
*