cygwin.h: Strip leading '*' from name, if any.

2001-11-18  Egor Duda  <deo@logos-m.ru>

	* config/i386/cygwin.h: Strip leading '*' from name, if any.

From-SVN: r47144
This commit is contained in:
Egor Duda 2001-11-18 12:06:41 +00:00 committed by David Billinghurst
parent fcff1fb2b0
commit bca0284ad4
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-11-18 Egor Duda <deo@logos-m.ru>
* config/i386/cygwin.h: Strip leading '*' from name, if any.
2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk>
* Makefile.in (c-parse.o, c-common.o): Update dependencies.

View File

@ -296,6 +296,7 @@ extern void i386_pe_encode_section_info PARAMS ((TREE));
do { \
const char *_p; \
const char *_name = I386_PE_STRIP_ENCODING (SYMBOL_NAME); \
if (*_name == '*') _name++; \
for (_p = _name; *_p && *_p != '@'; ++_p) \
; \
if (*_p == '@') \