bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it n


From: oliver at linux-kernel dot at
Subject: [Bug ld/5149] PT_GNU_RELRO having PF_R|PF_E even when no section in it needs exec is a ld bug
Date: 19 Nov 2007 13:51:10 -0000

------- Additional Comments From oliver at linux-kernel dot at  2007-11-19 
13:51 -------
So. relo has no longer executable flag set - for me this is ok from binutils
point of view and the patch should be submitted.

I think the problem why elflint still spotting that error is because .plt and
relro are in the same segment sections!? Sorry, I'm not a guru in these
internals - that's just a guess.

<snip>
[21] .plt                 PROGBITS     000000000003a000 0002a000 000001b8  0 WAX
   0   0 16
</snip>
<snap>
   01      [RELRO: .ctors .dtors .jcr .data.rel.ro .dynamic] .plt .got .sdata 
.sbss
</snap>

in the last example...

Does that sound reasonable for you?

-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]