List Info

Thread: pie support




pie support
user name
2008-03-05 20:04:47
Hi, what is the status of PIE support in gdb?  From reading
the lists,
I see that Elena  Redhat created patches to add PIE
support. Most of
the other distros have now incorporated these into their
versions of
gdb.  What needs to be done in order to have these patches
incorporated
into gdb?  Is there something I can do to help?

Re: pie support
user name
2008-03-09 14:01:41
Was this addressed to the wrong list?

On Wed, 5 Mar 2008 21:04:47 -0500
inf41md.gdb wrote:

> Hi, what is the status of PIE support in gdb?  From
reading the lists,
> I see that Elena  Redhat created patches to add PIE
support. Most of
> the other distros have now incorporated these into
their versions of
> gdb.  What needs to be done in order to have these
patches incorporated
> into gdb?  Is there something I can do to help?

Re: pie support
country flaguser name
United States
2008-03-09 16:10:03
On Sun, Mar 09, 2008 at 03:01:41PM -0400, inf41md.gdbgmail.com
wrote:
> Was this addressed to the wrong list?

No one knew the answer.

I imagine someone (with an FSF copyright assignment) would
have to
take Elena's patches, merge them to the trunk version of
GDB, test
them, and submit them to be included.  The last time I
checked PIE
support had been disabled in Ubuntu because the patches no
longer
worked.

Jan K. might know more about it.

-- 
Daniel Jacobowitz
CodeSourcery

Re: pie support
country flaguser name
Germany
2008-03-09 17:58:36
Daniel Jacobowitz <drowfalse.org> writes:

> I imagine someone (with an FSF copyright assignment)
would have to
> take Elena's patches, merge them to the trunk version
of GDB, test
> them, and submit them to be included.  The last time I
checked PIE
> support had been disabled in Ubuntu because the patches
no longer
> worked.

The attached patch works for me, but is not very well tested
and might
need some cleanup.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwabsuse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg,
Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5
214B 8276 4ED5
"And now for something completely different."

  
Re: pie support
user name
2008-03-09 18:08:12
On Sun, 09 Mar 2008 23:58:36 +0100, Andreas Schwab wrote:
...
> The attached patch works for me, but is not very well
tested and might
> need some cleanup.

Fedora is now using the tested 6.6 patch
	http://cvs.fedora.redhat.
com/viewcvs/*checkout*/rpms/gdb/F-8/gdb-6.3-pie-20050110.pat
ch
while the 6.8pre patch may or may not still need some fixes
(unreleased so far)
	http://cvs.fedora.redha
t.com/viewcvs/*checkout*/rpms/gdb/devel/gdb-6.3-pie-20050110
.patch

It definitely needs a major cleanup and it should be
cross-checked with the
much more simple SuSE patch.


Regards,
Jan

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )