bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/26083] cris linker generate zero sized PLTRELSZ


From: hjl.tools at gmail dot com
Subject: [Bug ld/26083] cris linker generate zero sized PLTRELSZ
Date: Sun, 07 Jun 2020 20:53:48 +0000

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Hans-Peter Nilsson from comment #1)
> 
> I don't mind to have it that way, but I'm not sure it's as easy to remove as
> just an extra if-clause in elf_cris_finish_dynamic_sections, as room has to
> be allocated for it in elf_cris_finish_dynamic_sections, when it's value is
> unknown.

I am removing code duplication in ELF linker.  One of consequence is to remove
optional

 0x00000002 (PLTRELSZ)                   0 (bytes)
 0x00000014 (PLTREL)                     RELA
 0x00000017 (JMPREL)                     0x194

from cris linker output when they aren't needed.  I will leave this bug
open and post a fix after my ELF linker cleanup has been merged into
master branch.

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