Backed out rev.1.10 (a special case for amd64). The amd64 mcount code
never needed any frame pointers for itself.
This commit is contained in:
parent
342dca59e9
commit
fd31361d3d
@ -12,12 +12,6 @@ MAN+= moncontrol.3
|
||||
|
||||
MLINKS+=moncontrol.3 monstartup.3
|
||||
|
||||
.if ${MACHINE_ARCH} == amd64
|
||||
# mcount needs to be compiled with frame pointers and without profiling
|
||||
mcount.po: mcount.c
|
||||
${CC} ${CFLAGS} -fno-omit-frame-pointer -c ${.IMPSRC} -o ${.TARGET}
|
||||
.else
|
||||
# mcount cannot be compiled with profiling
|
||||
mcount.po: mcount.o
|
||||
cp mcount.o mcount.po
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user