bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/14207] x86_64 linker can produce a NULL GNU_RELRO segment


From: nickc at redhat dot com
Subject: [Bug ld/14207] x86_64 linker can produce a NULL GNU_RELRO segment
Date: Thu, 07 Jun 2012 16:11:00 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14207

--- Comment #1 from Nick Clifton <nickc at redhat dot com> 2012-06-07 16:11:00 
UTC ---
Created attachment 6439
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6439
Skip filesize check when matching segments.

Here is a proposed patch.  It does two things:

  1,. It adds a warning when a NULL GNU_RELO segment is going to be generated.

  2. It skips the p_filesz check when matching real segments to the requested
GNU_RELRO segment.

I suspect that 2) will rejected and the correct patch will be to fix the
generation of the initial segment map.  But at least now the problem is out
there for people to look at.

Cheers
  Nick

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]