[PATCH] Use PIE_SPEC/NO_PIE_SPEC for crtend.o/crtendS.o
Joseph Myers
joseph@codesourcery.com
Mon Jun 29 20:57:00 GMT 2015
On Sun, 28 Jun 2015, H.J. Lu wrote:
> > Here is a patch. OK for trunk?
> >
> > Thanks.
>
> I'd like to check in this patch. Any comments, objections?
>
> Thanks.
>
> H.J.
> > From 50bebf531193c18efb0982ac119694aa9f650e44 Mon Sep 17 00:00:00 2001
> > From: "H.J. Lu" <hjl.tools@gmail.com>
> > Date: Thu, 25 Jun 2015 03:04:56 -0700
> > Subject: [PATCH 1/2] Use PIE_SPEC/NO_PIE_SPEC for crtend.o/crtendS.o
> >
> > We need to link with crtend.o and crtendS.o properly for GCC configured
> > to generate PIE by default.
> >
> > * config/gnu-user.h (GNU_USER_TARGET_ENDFILE_SPEC): Use
> > PIE_SPEC and NO_PIE_SPEC if HAVE_LD_PIE is defined.
OK.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list