> Is there anything I can do/provide that would assist in the solving of
> this problem on PowerPC? I'm still concerned about my lack of flash space...
Try this path. It fixes the recent ldso problems for me on my mpc860 board.
You should be able to use ldso without the dcbx patch to the kernel now.
Please report back.
Jocke
*reloc_addr = (unsigned long)tpnt->loadaddr + (unsigned long)rpnt->r_addend;
break;
case R_PPC_ADDR32:
- *reloc_addr += symbol_addr;
+ case R_PPC_GLOB_DAT:
+ *reloc_addr = symbol_addr + (unsigned long)rpnt->r_addend;
break;
case R_PPC_ADDR16_HA:
/* XXX is this correct? */
}
break;
}
- case R_PPC_GLOB_DAT:
- *reloc_addr += symbol_addr;
- break;
case R_PPC_COPY:
// handled later
return 0;
symbol_addr, symtab[symtab_index].st_value);
#endif
_dl_memcpy((char *) reloc_addr,
- (char *) symbol_addr, symtab[symtab_index].st_size);
+ (char *) (symbol_addr + (unsigned long)rpnt->r_addend), symtab[symtab_index].st_size);
}
return goof;