Support mcount/gprof test with GCC defaulting to PIE
commit34d6a3cbf2be45aa039a7eb9f0084a4b710437b8
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Aug 2017 11:55:44 +0000 (17 04:55 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Aug 2017 11:56:01 +0000 (17 04:56 -0700)
tree6a4071fc15f120552dd0925b49ad8465f6405cff
parentbb6274ee1293a6bc76d9d7c889783303de181295
Support mcount/gprof test with GCC defaulting to PIE

The mcount/gprof test should be linked with gcrt1.o, not Scrt1.o.

* Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
the startup object.
ChangeLog
Makeconfig