[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 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12763
--- 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.
- [Bug ld/12763] New: [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, marcus at mc dot pp.se, 2011/05/15
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, nickc at redhat dot com, 2011/05/18
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, amodra at gmail dot com, 2011/05/18
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, marcus at mc dot pp.se, 2011/05/18
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, amodra at gmail dot com, 2011/05/18
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, amodra at gmail dot com, 2011/05/18
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment,
marcus at mc dot pp.se <=
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, hjl.tools at gmail dot com, 2011/05/19
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, marcus at mc dot pp.se, 2011/05/19
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, hjl.tools at gmail dot com, 2011/05/19
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, marcus at mc dot pp.se, 2011/05/19
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, cvs-commit at gcc dot gnu.org, 2011/05/20
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, cvs-commit at gcc dot gnu.org, 2011/05/20
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, marcus at mc dot pp.se, 2011/05/20
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, cvs-commit at gcc dot gnu.org, 2011/05/23
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, cvs-commit at gcc dot gnu.org, 2011/05/23
- [Bug ld/12763] [PATCH] Incorrect error when .tbss starts outside PT_LOAD segment, cvs-commit at gcc dot gnu.org, 2011/05/27