Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/csu/common



On Thu, Jun 27, 2013 at 09:54:33AM -0700, Matt Thomas wrote:
> 
> On Jun 27, 2013, at 8:33 AM, Joerg Sonnenberger 
> <joerg%britannica.bec.de@localhost> wrote:
> 
> > On Thu, Jun 27, 2013 at 08:03:06AM -0700, Matt Thomas wrote:
> >> 
> >> On Jun 27, 2013, at 7:28 AM, matthew green <mrg%eterna.com.au@localhost> 
> >> wrote:
> >> 
> >>> 
> >>>> Module Name:     src
> >>>> Committed By:    matt
> >>>> Date:            Thu Jun 27 03:37:21 UTC 2013
> >>>> 
> >>>> Modified Files:
> >>>>  src/lib/csu/common: Makefile.inc
> >>>> 
> >>>> Log Message:
> >>>> Add -fPIC to compile of crtbeginS.o
> >>> 
> >>> what is this for?  crtbeginS.o is for static binaries isn't it?
> >> 
> >> crtbegin.o is for static
> >> crtbeginS.o is for shared
> > 
> > Actually, it is crtbegin.o for the main binary, crtbeginS.o for shared
> > objects and crtbeginT.o for static binaries. Making crtbegin.o PIC is
> > useful for PIE.
> 
> 
> We don't build crtbeginT.o any more.

Correct, so crtbegin.o should also be PIC.

Joerg


Home | Main Index | Thread Index | Old Index