Compile gcrt1.o with -fPIC
commitd49499c128f38e77f1b424ea4fabea0014dd95c1
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 23 Feb 2015 14:28:18 +0000 (23 06:28 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 23 Feb 2015 14:28:33 +0000 (23 06:28 -0800)
tree769add206f599429f2dc22b3c7f3e478c878a7c4
parent51225803259c69a792a272d067443f3fbc9b79d7
Compile gcrt1.o with -fPIC

We compile gcrt1.o with -fPIC to support both "gcc -pg" and "gcc -pie -pg".

[BZ #17836]
* csu/Makefile (extra-objs): Add gmon-start.o if not builing
shared library.  Add gmon-start.os otherwise.
($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
$(objpfx)gmon-start.os if builing shared library.
($(objpfx)g$(static-start-installed-name)): Likewise.
ChangeLog
NEWS
csu/Makefile