bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/16900] [PATCH] when linked with gold, NetBSD ld.elf_so crashes


From: ccoutant at google dot com
Subject: [Bug gold/16900] [PATCH] when linked with gold, NetBSD ld.elf_so crashes due to missing .plt.got entry
Date: Tue, 06 May 2014 21:26:59 +0000

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

Cary Coutant <ccoutant at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|ian at airs dot com                |ccoutant at google dot 
com

--- Comment #1 from Cary Coutant <ccoutant at google dot com> ---
Thanks for the diagnosis. You're right that the problem is that the GOT is
initialized only when there is a PLT, but it shouldn't be necessary to forcibly
create a PLT that would otherwise be empty. I've fixed this by changing the
.got.plt section to have its own class derived from Output_section_data_build,
so that its own do_write() method can write those reserved entries, but I leave
the remainder of the section to be written when the PLT is written.

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