This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]