I goofed in rev 1.59 (a.out support axing) and missed getting FUNCTION_PROFILER
fully clean. This resulted in inserted garbage into the produced assembly code when the gcc -pg and -fPIC options are used together. PR: i386/50598 Submitted by: Don Lewis <truckman@freebsd.org>
This commit is contained in:
parent
b7412bf571
commit
f8f4e47610
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114842
@ -135,7 +135,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define FUNCTION_PROFILER(FILE, LABELNO) \
|
||||
do { \
|
||||
if (flag_pic) \
|
||||
fprintf ((FILE), "\tcall *.mcount%s@GOT(%%ebx)\n"); \
|
||||
fprintf ((FILE), "\tcall *.mcount@GOT(%%ebx)\n"); \
|
||||
else \
|
||||
fprintf ((FILE), "\tcall .mcount\n"); \
|
||||
} while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user