[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.
- [Bug ld/18421] New: hppa/parisc ld: read-only segment has dynamic relocations, deller at gmx dot de, 2015/05/16
- [Bug ld/18421] hppa/parisc ld: read-only segment has dynamic relocations, deller at gmx dot de, 2015/05/16
- [Bug ld/18421] hppa/parisc ld: read-only segment has dynamic relocations,
amodra at gmail dot com <=
- [Bug ld/18421] hppa/parisc ld: read-only segment has dynamic relocations, deller at gmx dot de, 2015/05/16
- [Bug ld/18421] hppa/parisc ld: read-only segment has dynamic relocations, dave.anglin at bell dot net, 2015/05/16
- [Bug ld/18421] hppa/parisc ld: read-only segment has dynamic relocations, amodra at gmail dot com, 2015/05/17
- [Bug ld/18421] hppa/parisc ld: read-only segment has dynamic relocations, amodra at gmail dot com, 2015/05/17