------- Additional Comments From amodra at gmail dot com  2010-08-02 04:09 
-------
Perhaps I was a little hasty in saying this is a strip bug.  When looking at
"good.so" more carefully, I see some really weird segment values.

This one:
  LOAD           0x01bce8 0x000000000001bce8 0x000000000001bce8 0x000560
0x000570 RW  0x1000
maps in part of the file that is unused by any section.  File offset 0x01bce8 is
past the end of .plt (0x1a550) but before the start of .data.rel.ro.local 
(0x1bd00).

Also
  GNU_RELRO      0x01bd00 0x000000000001bd00 0x000000000001bd00 0x000318
0x000318 RW  0x20
doesn't end on a page boundary.

Seems like gold is broken if it is creating segments like these.  Of course, in
an ideal world strip would throw away the bogus GNU_RELRO header and not be
confused by the odd LOAD header.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|binutils                    |gold


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

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to