home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2820 < prev    next >
Encoding:
Text File  |  1992-11-22  |  2.1 KB  |  60 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!regent.e-technik.tu-muenchen.dbp.DE!Peter.Schauer
  3. From: Peter.Schauer@regent.e-technik.tu-muenchen.dbp.DE (Peter Schauer)
  4. Subject: gcc-2.3.1 i386gas.h NO_UNDERSCORES problem + fix
  5. Message-ID: <92Nov22.110807met.20493@rebus.regent.e-technik.tu-muenchen.de>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Sun, 22 Nov 1992 12:08:03 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 47
  12.  
  13. (An apology if you receive this twice but I sent it to bug-gcc and never
  14. saw it on the gnu.bug.gcc newsgroup)
  15.  
  16. There are two small bugs in i386gas.h that manifest themselves on systems
  17. that have NO_UNDERSCORES. LPREFIX is not redefined to .L as necessary
  18. and the * was dropped from ASM_GENERATE_INTERNAL_LABEL which causes problems
  19. with the Ltext label output in dbxread.c.
  20.  
  21. Here are the diffs:
  22.  
  23. *** ./config/i386gas.h.orig    Fri Oct 30 02:15:41 1992
  24. --- ./config/i386gas.h    Wed Nov 11 09:57:45 1992
  25. ***************
  26. *** 139,144 ****
  27. --- 139,148 ----
  28.                then it must take more than `L' to identify
  29.                a label that should be ignored.  */
  30.   
  31. + /* Local labels are prefixed with ".L" */
  32. + #undef LPREFIX
  33. + #define LPREFIX ".L"
  34.   /* This is how to store into the string BUF
  35.      the symbol_ref name of an internal numbered label where
  36.      PREFIX is the class of label and NUM is the number within the class.
  37. ***************
  38. *** 146,152 ****
  39.   
  40.   #undef ASM_GENERATE_INTERNAL_LABEL
  41.   #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER)    \
  42. !     sprintf ((BUF), ".%s%d", (PREFIX), (NUMBER))
  43.   
  44.   /* This is how to output an internal numbered label where
  45.      PREFIX is the class of label and NUM is the number within the class.  */
  46. --- 150,156 ----
  47.   
  48.   #undef ASM_GENERATE_INTERNAL_LABEL
  49.   #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER)    \
  50. !     sprintf ((BUF), "*.%s%d", (PREFIX), (NUMBER))
  51.   
  52.   /* This is how to output an internal numbered label where
  53.      PREFIX is the class of label and NUM is the number within the class.  */
  54.  
  55. --
  56. Peter Schauer            pes@regent.e-technik.tu-muenchen.de
  57.  
  58.  
  59.