Path: utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!BONNIE.ICS.UCI.EDU!schmidt
From: schmidt@BONNIE.ICS.UCI.EDU ("Douglas C. Schmidt")
Newsgroups: gnu.gcc.bug
Subject: Fix for sequent symmetry -p option
Message-ID: <8811251401.aa29754@BONNIE.ICS.UCI.EDU>
Date: 25 Nov 88 22:01:41 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 21


Hi,

   It was correctly pointed out to me that my sloppy bug report
regarding the Sequent Symmetry -p profiling problem wasn't
particularly helpful.  Therefore, to atone for this I am submitting a
fix that works for our 386 Sequent:

----- ( tm-i386.h ) -----
/* Output assembler code to FILE to increment profiler label # LABELNO
   for profiling a function entry. */

#define FUNCTION_PROFILER(FILE, LABELNO)  \
   fprintf (FILE, "\tmovl $LP%d,%%eax\n\tcall mcount\n", (LABELNO));
-------------------------

This probably should be migrated into the tm-seq386.h file, since the
previous macro appears to work fine for the other 386's ( at least
that's what I've been told ).

Doug