Opened on Oct 19, 2005 at 6:24:39 PM
Closed on Nov 4, 2005 at 2:49:05 AM
Last modified on Dec 3, 2006 at 1:31:13 PM
#838 closed defect (fixed)
pcX86 BSP puts GDT in text segment
Reported by: | strauman | Owned by: | Joel Sherrill |
---|---|---|---|
Priority: | lowest | Milestone: | 2 |
Component: | bsps | Version: | 4.6 |
Severity: | normal | Keywords: | |
Cc: | bugs@…, strauman@… | Blocked By: | |
Blocking: |
Description
The GDT is currently in the text segment. If the text segment is assumed to be constant (e.g., read-only protection or a debugger comparing its contents to file contents [which is how I came across this issue]) this can cause problems because the CPU actually modifies the GDT [access bit]). The attached fix allocates all data structures in the data segment.
Release:
4.6.5
Attachments (1)
Change History (2)
comment:1 Changed on Nov 4, 2005 at 2:49:05 AM by strauman
Status: | assigned → closed |
---|
Changed on Dec 3, 2006 at 1:31:12 PM by strauman
Attachment: | pcx86-ldsegs.diff added |
---|
pcx86-ldsegs.diff
Note: See
TracTickets for help on using
tickets.
State-Changed-From-To: open->closed
State-Changed-Why: redundant with #832 [just found out that I have two
accounts; when I click on 'originated by you' only the PRs I
filed under one of them show up...]