Updated rldelf.c due to the changes in elf32.h.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5054 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-10-16 18:22:59 +00:00
parent 73ebb119f3
commit c0c914aeef
+3 -3
View File
@@ -384,7 +384,7 @@ parse_program_headers(image_t *image, char *buff, int phnum, int phentsize)
image->regions[regcount].fdsize = pheader->p_filesz;
image->regions[regcount].delta = 0;
image->regions[regcount].flags = 0;
if (pheader->p_flags & PF_W) {
if (pheader->p_flags & PF_WRITE) {
// this is a writable segment
image->regions[regcount].flags |= RFLAG_RW;
}
@@ -407,7 +407,7 @@ parse_program_headers(image_t *image, char *buff, int phnum, int phentsize)
image->regions[regcount].fdsize = pheader->p_filesz;
image->regions[regcount].delta = 0;
image->regions[regcount].flags = 0;
if (pheader->p_flags & PF_W) {
if (pheader->p_flags & PF_WRITE) {
// this is a writable segment
image->regions[regcount].flags |= RFLAG_RW;
}
@@ -425,7 +425,7 @@ parse_program_headers(image_t *image, char *buff, int phnum, int phentsize)
image->regions[regcount].fdsize = 0;
image->regions[regcount].delta = 0;
image->regions[regcount].flags = RFLAG_ANON;
if (pheader->p_flags & PF_W) {
if (pheader->p_flags & PF_WRITE) {
// this is a writable segment
image->regions[regcount].flags |= RFLAG_RW;
}