summaryrefslogtreecommitdiff
path: root/sys/arch/sh
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2019-11-07 20:42:29 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2019-11-07 20:42:29 +0000
commit3ff3f71ff3208de3d266d976d32d4db90d6b3fb6 (patch)
tree5694dc5f52e037594888fb3764e15a85ddbf0feb /sys/arch/sh
parent2301c8319f5a1f935328e8b774b0118665a026b7 (diff)
The compiler -pg option implies -fno-ret-protector, as we want to disable
retguard and similar when profiling. However, that missed all the .S files, as ${PROF} wasn't added when ${NORMAL_S} was converted from direct invocation of ${AS} to instead use ${CC}. Similarly, mcount.o still had retguards as it cannot be built with -pg. So: pass ${PROF} when compiling .S files, and compile "no profiling" files with -fno-ret-protector on archs with retguard. feedback and ok mpi@ mortimer@
Diffstat (limited to 'sys/arch/sh')
0 files changed, 0 insertions, 0 deletions