🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1541

Patch for profiling output on Sequent Symmetry, 2.3.2

#1541
From: 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
Technical Details
Message-ID: <JASON.92Dec14162607@it.claremont.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!jarthur.claremont.edu!jason

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!jarthur.claremont.edu!jason
From: jason@jarthur.claremont.edu (Jason Merrill)
Subject: Patch for profiling output on Sequent Symmetry, 2.3.2
Message-ID: <JASON.92Dec14162607@it.claremont.edu>
Sender: gnulists@ai.mit.edu
Organization: Minimal
Distribution: gnu
Date: Mon, 14 Dec 1992 21:26:07 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 29