Rev 3400 | Rev 3553 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3400 | Rev 3552 | ||
---|---|---|---|
Line 133... | Line 133... | ||
133 | 133 | ||
134 | /* FIXME: need to vary bias / allocate address space */ |
134 | /* FIXME: need to vary bias / allocate address space */ |
135 | m->bias = 0x20000; |
135 | m->bias = 0x20000; |
136 | printf("filename:'%s'\n", name_buf); |
136 | printf("filename:'%s'\n", name_buf); |
137 | 137 | ||
138 | rc = elf_load_file(name_buf, m->bias, &info); |
138 | rc = elf_load_file(name_buf, m->bias, ELDF_RW, &info); |
139 | if (rc < 0) { |
139 | if (rc < 0) { |
140 | printf("Failed to load '%s'\n", name_buf); |
140 | printf("Failed to load '%s'\n", name_buf); |
141 | exit(1); |
141 | exit(1); |
142 | } |
142 | } |
143 | 143 |