bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/18421] hppa/parisc ld: read-only segment has dynamic relocation


From: amodra at gmail dot com
Subject: [Bug ld/18421] hppa/parisc ld: read-only segment has dynamic relocations
Date: Sat, 16 May 2015 13:03:22 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18421

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
I tried to recreate this using an old hppa gcc I had (from 2001, it's been a
long time!)
gcc/xgcc -Bgcc/ -S conftest.c
~/build/gas/hppa-linux/gas/as-new -o conftest.o conftest.s
~/build/gas/hppa-linux/ld/ld-new -o conftest -z text -pie -o conftest
conftest.o

The link succeeded, no sign of dynamic relocations in .PARISC.unwind.  readelf
shows the expected R_PARISC_SEGREL32 relocs in conftest.o.

>From a quick glance over elf32-hppa.c it looks to me like R_PARISC_SEGREL32
indeed should not be made dynamic.  So I'm wondering if debian hppa-ld has some
added "features"?

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]