new -fleading-underscore option

Jim Wilson wilson@cygnus.com
Wed Oct 28 16:54:00 GMT 1998


It looks OK to me.

I think there is one little bit missing though.  You need to define
USER_LABEL_PREFIX in toplev.c if the port doesn't define it.  This was
needed for an hpux build with an earlier version of these patches.  This
is what you added to the earlier patches to fix it.

Index: toplev.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/toplev.c,v
retrieving revision 1.318.2.4
diff -c -p -d -r1.318.2.4 toplev.c
*** toplev.c	1998/09/23 19:03:49	1.318.2.4
--- toplev.c	1998/09/28 21:08:41
*************** int flag_leading_underscore = -1;
*** 829,834 ****
--- 829,837 ----
  #ifndef USE_CPPLIB
  char *user_label_prefix;
  #endif
+ #ifndef USER_LABEL_PREFIX
+ #define USER_LABEL_PREFIX ""
+ #endif
  
  /* Table of language-independent -f options.
     STRING is the option name.  VARIABLE is the address of the variable.




More information about the Gcc-patches mailing list