Rev 3009 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3009 | Rev 3107 | ||
---|---|---|---|
Line 164... | Line 164... | ||
164 | return load_segment(entry, elf, as); |
164 | return load_segment(entry, elf, as); |
165 | break; |
165 | break; |
166 | case PT_DYNAMIC: |
166 | case PT_DYNAMIC: |
167 | case PT_INTERP: |
167 | case PT_INTERP: |
168 | interp = (char *)elf + entry->p_offset; |
168 | interp = (char *)elf + entry->p_offset; |
- | 169 | /* DO NOT COMMIT ME */ |
|
169 | if (memcmp(interp, ELF_INTERP_ZSTR, ELF_INTERP_ZLEN) != 0) { |
170 | /*if (memcmp((uintptr_t)interp, (uintptr_t)ELF_INTERP_ZSTR, |
- | 171 | ELF_INTERP_ZLEN) != 0) { |
|
170 | return EE_UNSUPPORTED; |
172 | return EE_UNSUPPORTED; |
171 | } |
173 | }*/ |
172 | if ((flags & ELD_F_LOADER) == 0) { |
174 | if ((flags & ELD_F_LOADER) == 0) { |
173 | return EE_LOADER; |
175 | return EE_LOADER; |
174 | } |
176 | } |
175 | break; |
177 | break; |
176 | case PT_SHLIB: |
178 | case PT_SHLIB: |