Changeset 27810c5 in mainline


Ignore:
Timestamp:
2006-03-13T21:45:06Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e74cb73
Parents:
5c089c3a
Message:

Fix bug in loading ELF segment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/lib/elf.c

    r5c089c3a r27810c5  
    197197        memcpy(segment, (void *) (((__address) elf) + entry->p_offset), entry->p_filesz);
    198198
    199         a = as_area_create(as, AS_AREA_TEXT, SIZE2FRAMES(entry->p_memsz), entry->p_vaddr);
     199        a = as_area_create(as, type, SIZE2FRAMES(entry->p_memsz), entry->p_vaddr);
    200200        if (!a)
    201201                return EE_IRRECOVERABLE;
Note: See TracChangeset for help on using the changeset viewer.