Show
Ignore:
Timestamp:
07/06/08 13:42:48 (5 months ago)
Author:
mwhitworth
Message:

Change 7 to elfProt in load_lib.c. Breaks xy etc, but makes moduleadd more stable. Will investigate cause of xy, desktop, term crash.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/trunk/user/linker/load_lib.c

    r686 r733  
    147147                        mapAddr=SysMemoryMap(PAGE_ALIGN(pHeaders[i].vAddr),                                             /* Start address. */ 
    148148                                                                 PAGE_ALIGN_UP(pHeaders[i].fileSize+PAGE_OFFSET(pHeaders[i].vAddr)), /* Size */ 
    149                                                                  7,                                                                                             /* Protection */ 
     149                                                                 elfProt,                                                                                               /* Protection */ 
    150150                                                                 fd,                                                                                                    /* Backing file */ 
    151151                                                                 pHeaders[i].fileOffset-PAGE_OFFSET(pHeaders[i].vAddr),  /* File offset */