home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!regent.e-technik.tu-muenchen.dbp.DE!Peter.Schauer
- From: Peter.Schauer@regent.e-technik.tu-muenchen.dbp.DE (Peter Schauer)
- Subject: gcc-2.3.1 i386gas.h NO_UNDERSCORES problem + fix
- Message-ID: <92Nov22.110807met.20493@rebus.regent.e-technik.tu-muenchen.de>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Sun, 22 Nov 1992 12:08:03 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 47
-
- (An apology if you receive this twice but I sent it to bug-gcc and never
- saw it on the gnu.bug.gcc newsgroup)
-
- There are two small bugs in i386gas.h that manifest themselves on systems
- that have NO_UNDERSCORES. LPREFIX is not redefined to .L as necessary
- and the * was dropped from ASM_GENERATE_INTERNAL_LABEL which causes problems
- with the Ltext label output in dbxread.c.
-
- Here are the diffs:
-
- *** ./config/i386gas.h.orig Fri Oct 30 02:15:41 1992
- --- ./config/i386gas.h Wed Nov 11 09:57:45 1992
- ***************
- *** 139,144 ****
- --- 139,148 ----
- then it must take more than `L' to identify
- a label that should be ignored. */
-
- + /* Local labels are prefixed with ".L" */
- + #undef LPREFIX
- + #define LPREFIX ".L"
- +
- /* This is how to store into the string BUF
- the symbol_ref name of an internal numbered label where
- PREFIX is the class of label and NUM is the number within the class.
- ***************
- *** 146,152 ****
-
- #undef ASM_GENERATE_INTERNAL_LABEL
- #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
- ! sprintf ((BUF), ".%s%d", (PREFIX), (NUMBER))
-
- /* This is how to output an internal numbered label where
- PREFIX is the class of label and NUM is the number within the class. */
- --- 150,156 ----
-
- #undef ASM_GENERATE_INTERNAL_LABEL
- #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
- ! sprintf ((BUF), "*.%s%d", (PREFIX), (NUMBER))
-
- /* This is how to output an internal numbered label where
- PREFIX is the class of label and NUM is the number within the class. */
-
- --
- Peter Schauer pes@regent.e-technik.tu-muenchen.de
-
-
-