🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jason Merrill Mon, 14 Dec 1992 21:26
Patch for profiling output on Sequent Symmetry, 2.3.2
#1541
Author: Jason Merrill
Date: Mon, 14 Dec 1992 21:26
28 lines
1426 bytes
The local label syntax was changed a few versions back to start with .L so
that the Sequent as would strip them, but the profiling output was not
changed at the same time, so the actual profiling labels get stripped and
the references are to labels which never existed anyway.  This patch fixes
that.

*** 1.0	1992/12/14 23:29:33
--- config/seq386.h	1992/12/14 23:29:46
***************
*** 76,82 ****
  
  #undef FUNCTION_PROFILER
  #define FUNCTION_PROFILER(FILE, LABELNO)  \
!    fprintf (FILE, "\tmovl $LP%d,%%eax\n\tcall mcount\n", (LABELNO));
  
  /* Assembler pseudo-op for shared data segment. */
  #define SHARED_SECTION_ASM_OP ".shdata"
--- 76,82 ----
  
  #undef FUNCTION_PROFILER
  #define FUNCTION_PROFILER(FILE, LABELNO)  \
!    fprintf (FILE, "\tmovl $.LP%d,%%eax\n\tcall mcount\n", (LABELNO));
  
  /* Assembler pseudo-op for shared data segment. */
  #define SHARED_SECTION_ASM_OP ".shdata"

--
Jason Merrill					jason@jarthur.claremont.edu
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