This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: new -fleading-underscore option
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: new -fleading-underscore option
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Wed, 28 Oct 1998 16:54:47 -0800
- cc: egcs-patches at cygnus dot com
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.