Rev 1908 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1908 | Rev 3900 | ||
---|---|---|---|
Line 128... | Line 128... | ||
128 | /* If we got this far, then we have relocations of version 2 or newer */ |
128 | /* If we got this far, then we have relocations of version 2 or newer */ |
Line 129... | Line 129... | ||
129 | 129 | ||
130 | /* Check if this is a known version. */ |
130 | /* Check if this is a known version. */ |
131 | if (v2_hdr->version != RP_VERSION_V2) |
131 | if (v2_hdr->version != RP_VERSION_V2) |
132 | { |
132 | { |
133 | printf(" Unknown pseudo relocation protocol version %d.\n", |
133 | // printf(" Unknown pseudo relocation protocol version %d.\n", |
134 | (int) v2_hdr->version); |
134 | // (int) v2_hdr->version); |
135 | return; |
135 | return; |
Line 136... | Line 136... | ||
136 | } |
136 | } |
137 | 137 | ||
Line 174... | Line 174... | ||
174 | case 32: |
174 | case 32: |
175 | reldata = (ptrdiff_t) (*((unsigned int *)reloc_target)); |
175 | reldata = (ptrdiff_t) (*((unsigned int *)reloc_target)); |
176 | break; |
176 | break; |
177 | default: |
177 | default: |
178 | reldata=0; |
178 | reldata=0; |
179 | printf(" Unknown pseudo relocation bit size %d.\n", |
179 | // printf(" Unknown pseudo relocation bit size %d.\n", |
180 | (int) (r->flags & 0xff)); |
180 | // (int) (r->flags & 0xff)); |
181 | break; |
181 | break; |
182 | } |
182 | } |
Line 183... | Line 183... | ||
183 | 183 | ||
184 | /* Adjust the relocation value */ |
184 | /* Adjust the relocation value */ |