🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by James Buster Tue, 05 Jan 1993 02:01
Bug in config/bsd386.h from gcc 2.3.3.
#1581
Author: James Buster
Date: Tue, 05 Jan 1993 02:01
36 lines
1730 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads