PATCH: FUNCTION_PROFILER/mcount fixes for FreeBSD

Jeffrey A Law law@cygnus.com
Wed Jun 30 23:15:00 GMT 1999


  In message < Pine.GSO.4.10.9906171754210.15059-100000@markab.dbai.tuwien.ac.at
>you write:
  > Please find below a patch by David to fix the mcount useage in
  > FUNCTION_PROFILER.
  > 
  > In addition to his tests, David asked whether I could have a look and
  > I bootstrapped this successfully on FreeBSD 3.1 (with the single letter
  > fix for yesterdays breakage) and ran some tests.
  > 
  > If possible, this should go on both branches, as far as I understood.
  > 
  > Gerald
  > 
  > 
  > Tue Jun 15 00:52:34 1999  David O'Brien <obrien@FreeBSD.org>
  > 
  > 	* i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
  > 	the reference to `mcount' was not correct for the ELF on FreeBSD.
Gerald, thanks for the double-check.

David, thanks for the patch.

Installed, both the branch and the mainline sources.
jeff



More information about the Gcc-patches mailing list