This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
i386/netbsd-elf.h patch for ASM_COMMENT_START
- From: Krister Walfridsson <cato at df dot lth dot se>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 31 Dec 2001 21:37:21 +0100 (MET)
- Subject: i386/netbsd-elf.h patch for ASM_COMMENT_START
NetBSD does (like nearly all i386 targets) need to redefine ASM_COMMENT_START
for -fverbose-asm and -dA to be useful (hmm. it seems rather stupid to
have a default that nearly all targets need to redefine. Maybe this should
be done in gas.h instead?)
Bootstrapped and tested on i386-unknown-netbsdelf1.5ZA.
/Krister
2001-12-31 Krister Walfridsson <cato@df.lth.se>
* config/i386/netbsd-elf.h (ASM_COMMENT_START): Redefine.
*** gcc/gcc/config/i386/netbsd-elf.h.bak Wed Dec 12 17:56:42 2001
--- gcc/gcc/config/i386/netbsd-elf.h Mon Dec 31 16:51:59 2001
*************** Boston, MA 02111-1307, USA. */
*** 135,140 ****
--- 135,143 ----
#undef ASM_FINAL_SPEC
#define ASM_FINAL_SPEC "%{pipe:-}"
+ #undef ASM_COMMENT_START
+ #define ASM_COMMENT_START "#"
+
#undef DBX_REGISTER_NUMBER
#define DBX_REGISTER_NUMBER(n) svr4_dbx_register_map[n]