[uClibc] Re: ET_DYN patches made optional

Peter S. Mazinger ps.m at gmx.net
Fri Nov 21 11:39:33 UTC 2003


On Fri, 21 Nov 2003, Peter S. Mazinger wrote:

> On Fri, 21 Nov 2003, Peter S. Mazinger wrote:
> 
> > On Fri, 21 Nov 2003, Peter S. Mazinger wrote:
> > 
> > > On Wed, 19 Nov 2003, Peter S. Mazinger wrote:
> > > 
> > > > Hello!
> > > > 
> > > > I have changes the pax and crt0S.S to be an option 
> > > > (UCLIBC_PAX_LOADER, defaults to no). This also requires the 
> > > > FORCE_SHAREABLE_TEXT_SEGMENTS set to yes (so both have to be set, to get 
> > > > it active). I had to remove COMPLETELY_PIC option (it's unused).
> > > > 
> > > > Added also preliminary patch for propolice support in uClibc, I have 
> > > > stolen the ssp.c file from glibc-2.3.2 (gentoo). It is implemented also 
> > > > as an option, defaulting to no (UCLIBC_PROPOLICE). Please check the 
> > > > location for __guard_setup() in __uClibc_main.c if it ok.
> > > > 
> > > > Erik, the PaX and crt0S.S patches (if ok from PaX and solar) can 
> > > > be applied (if you would like to) to cvs, they won't disturb normal 
> > > > functionality.
> > > After some hints from pappy I have modified the patch sent earlier to 
> > > behave like glibc-2.3.2 (file installed is Scrt1.o, interp.o not needed 
> > > anymore), so the pie option from binutils >= 2.14.90.0.6 works without 
> > > changes to the gcc's specs file.
> > I have removed the crt0S.S file completely and integrated it into the 
> > main crt0.S.
> > It would ease porting to other archs.
> 
> Sorry for missing patch, here it comes.
I have added SCRT_FLAGS = -fPIC to be sure that it will be built as PIC.
Erik, if we can be sure that everywhere -fPIC (or -fpic) is used, then it 
can be removed.

Peter

-- 
Peter S. Mazinger <ps.m at gmx.net>   ID: 0xA5F059F2    NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2


____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu



More information about the uClibc mailing list