|
@@ -355,7 +355,7 @@ calc_reloc(unsigned long r, struct lib_info *p, int curid, int internalp)
|
|
|
|
|
|
if (!flat_reloc_valid(r, start_brk - start_data + text_len)) {
|
|
if (!flat_reloc_valid(r, start_brk - start_data + text_len)) {
|
|
printk("BINFMT_FLAT: reloc outside program 0x%x (0 - 0x%x/0x%x)",
|
|
printk("BINFMT_FLAT: reloc outside program 0x%x (0 - 0x%x/0x%x)",
|
|
- (int) r,(int)(start_brk-start_code),(int)text_len);
|
|
|
|
|
|
+ (int) r,(int)(start_brk-start_data+text_len),(int)text_len);
|
|
goto failed;
|
|
goto failed;
|
|
}
|
|
}
|
|
|
|
|