mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 17:32:57 -05:00
(bogus, application name space) mcount function name on amd64. Override it here instead. I've done it this way to avoid touching gcc source while 3.4 is in progress, and this is the smallest, lowest impact I could come up with. Adding a patch touches about 10-14 lines of Makefile, this touches only 1. This will likely go away with the 3.4 import. I spoke with Alexander about this a few days ago, but waited until after sorting out some of the other bugs in the userland profiling.
9 lines
263 B
C
9 lines
263 B
C
/*
|
|
* config/i386/freebsd64.h neglects to override the default bogus mcount
|
|
* function name. In order to avoid touching vendor source while gcc3.4
|
|
* is in progress, try a minimal workaround.
|
|
*
|
|
* $FreeBSD$
|
|
*/
|
|
#undef MCOUNT_NAME
|
|
#define MCOUNT_NAME ".mcount"
|