| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
| Message-Id: | <200201261703.g0QH32217059@hal.astr.lu.lv> |
| From: | Andris Pavenis <pavenis AT latnet DOT lv> |
| To: | gcc-patches AT gcc DOT gnu DOT org |
| Subject: | [DJGPP] Patch for gcc/config/i386/djgpp.h |
| Date: | Sat, 26 Jan 2002 19:03:01 +0200 |
| X-Mailer: | KMail [version 1.3.2] |
| Cc: | djgpp-workers AT delorie DOT com |
| MIME-Version: | 1.0 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g0QH39116565 |
| Reply-To: | djgpp-workers AT delorie DOT com |
I was getting bootstrapping gcc CVS (trunk) failing for i586-pc-msdosdjgpp
when compiling libstdc++-v3/src/ios.cc due to incorrect assembler code
already for some time. Here is fragment from assemebler source generated
by gcc
LFE12:
.section .data.*_ZZNSt8ios_base6xallocEvE3top,"w"
.p2align 2
GAS doesn't access symbol '*' in .section line. The included patch fixes
this problem (I copied related lines from gcc/config/i386/winnt.c)
Andris
2002-01-25 Andris Pavenis <pavenis AT latnet DOT lv>
* config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
Index: djgpp.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/djgpp.h,v
retrieving revision 1.32
diff -p -3 -r1.32 djgpp.h
*** djgpp.h 2001/12/17 15:05:32 1.32
--- djgpp.h 2002/01/25 14:59:18
*************** do { \
*** 215,220 ****
--- 215,222 ----
char *string; \
\
name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (DECL)); \
+ /* Strip off any encoding in fnname. */ \
+ STRIP_NAME_ENCODING (name, name); \
\
if (! DECL_ONE_ONLY (DECL)) \
{ \
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |