home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!netcom.com!bitbug
- From: bitbug@netcom.com (James Buster)
- Subject: Bug in config/bsd386.h from gcc 2.3.3.
- Message-ID: <1993Jan5.020113.20229@netcom.com>
- Sender: gnulists@ai.mit.edu
- Organization: Lynx Real-Time Systems, Inc.
- Distribution: gnu
- Date: Tue, 5 Jan 1993 02:01:13 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 37
-
- When NO_UNDERSCORES is in effect, compiler generated symbols must be prefixed
- with `.', just like LPREFIX is. Unfortunately, this is not completely done in
- bsd386.h. Here are fixes in context diff format:
-
- *** config/bsd386.h Mon Jan 4 17:19:27 1993
- --- config/bsd386.h.orig Mon Jan 4 17:19:30 1993
- ***************
- *** 103,116 ****
- --- 103,126 ----
- PREFIX is the class of label and NUM is the number within the class.
- This is suitable for output with `assemble_name'. */
-
- + #ifdef NO_UNDERSCORES
- + #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
- + sprintf ((BUF), "*.%s%d", (PREFIX), (NUMBER))
- + #else
- #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
- sprintf ((BUF), "*%s%d", (PREFIX), (NUMBER))
- + #endif
-
- /* This is how to output an internal numbered label where
- PREFIX is the class of label and NUM is the number within the class. */
-
- + #ifdef NO_UNDERSCORES
- + #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
- + fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
- + #else
- #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
- fprintf (FILE, "%s%d:\n", PREFIX, NUM)
- + #endif
-
- /* This is how to output a reference to a user-level label named NAME. */
-
- --
- James Buster
- bitbug@netcom.com
-
-