Rev 3689 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3689 | Rev 3690 | ||
---|---|---|---|
Line 147... | Line 147... | ||
147 | if (rc != EE_OK) { |
147 | if (rc != EE_OK) { |
148 | printf("Failed to load '%s'\n", name_buf); |
148 | printf("Failed to load '%s'\n", name_buf); |
149 | exit(1); |
149 | exit(1); |
150 | } |
150 | } |
151 | 151 | ||
- | 152 | if (info.dynamic == NULL) { |
|
- | 153 | printf("Error: '%s' is not a dynamically-linked object.\n", |
|
- | 154 | name_buf); |
|
- | 155 | exit(1); |
|
- | 156 | } |
|
- | 157 | ||
152 | /* Pending relocation. */ |
158 | /* Pending relocation. */ |
153 | m->relocated = false; |
159 | m->relocated = false; |
154 | 160 | ||
155 | DPRINTF("parse dynamic section\n"); |
161 | DPRINTF("parse dynamic section\n"); |
156 | /* Parse ELF .dynamic section. Store info to m->dyn. */ |
162 | /* Parse ELF .dynamic section. Store info to m->dyn. */ |