summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-03-30 13:00:06 +0000
committerHal Finkel <hfinkel@anl.gov>2014-03-30 13:00:06 +0000
commitecdb454aa72be85c2a99627d719e62bc2a3d49ec (patch)
tree23fe24fc3ae0f9cdad3779130b2d9a0381871cd4 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parent9df0fd4018b8234c7100b9edf7871d76892fce34 (diff)
downloadbcm5719-llvm-ecdb454aa72be85c2a99627d719e62bc2a3d49ec.tar.gz
bcm5719-llvm-ecdb454aa72be85c2a99627d719e62bc2a3d49ec.zip
[PowerPC] Make -pg generate calls to _mcount not mcount
At least on REL6 (Linux/glibc 2.12), the proper symbol for generating gprof data is _mcount, not mcount. Prior to this change, compiling with -pg would generate linking errors (because of unresolved references to mcount), after this change -pg seems at least minimally functional. llvm-svn: 205144
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud