[Top][All Lists]

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

[Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD

From: marcus at mc dot pp.se
Subject: [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment
Date: Thu, 19 May 2011 10:12:43 +0000


--- Comment #6 from Marcus Comstedt <marcus at mc dot pp.se> 2011-05-19 
10:12:29 UTC ---
Ok.  I'm afraid you might be right about breakage in objcopy with the patch; I
tried strip and the resulting binary had incorrect file size for PT_TLS.  :-( 
Although here I blame the rather dubious calulcation of file size for non-load
segments, which indeed is the only reason why .tbss needs to go into a load
segment in the first place:  Since .tbss (or any SHT_NOBITS section for that
matter) does not actually exist in the file, nothing ought to rely on it having
a filepos...

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]