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]

patch for gcc/config/netbsd.h


In egcs-current, without this patch the standard NetBSD
assembler barfs on encountering two directives on one line.


   Alasdair.


*** netbsd.h.orig	Sun Aug  2 13:04:41 1998
--- netbsd.h	Sun Aug  2 13:05:10 1998
***************
*** 101,106 ****
--- 101,107 ----
  #undef ASM_WEAKEN_LABEL
  #define ASM_WEAKEN_LABEL(FILE,NAME) \
    do { fputs ("\t.globl\t", FILE); assemble_name (FILE, NAME); \
+        fputc ('\n', FILE); \
         fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
         fputc ('\n', FILE); } while (0)
  


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