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: deller at gmx dot de
Subject: [Bug ld/18421] hppa/parisc ld: read-only segment has dynamic relocations
Date: Sat, 16 May 2015 13:45:16 +0000

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

--- Comment #3 from Helge Deller <deller at gmx dot de> ---
(In reply to Alan Modra from comment #2)
> 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"?

I don't think so.
Debian's binutils 2.25-7 seems to just add (in branch-updates.diff) the updates
from the binutils-2.25 branch like this:
git diff 15a2e5b3fab5543c499a58783d9562c0c973fc1f
882033c14f4bb18fc8513bc27a4e25cd699633d2
exclude bfd/{configure{,.ac},Makefile.{am,in}}

which includes this diff:

diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 0588ebb..abc7124 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -1915,7 +1915,7 @@ elf32_hppa_adjust_dynamic_symbol (struct bfd_link_info
*info,

   sec = htab->sdynbss;

-  return _bfd_elf_adjust_dynamic_copy (eh, sec);
+  return _bfd_elf_adjust_dynamic_copy (info, eh, sec);
 }

 /* Allocate space in the .plt for entries that won't have relocations.

-- 
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]