|
@@ -234,12 +234,12 @@ _dl_do_reloc (struct elf_resolve *tpnt,struct r_scope_elem *scope,
|
|
case R_PPC_ADDR32:
|
|
case R_PPC_ADDR32:
|
|
case R_PPC_GLOB_DAT:
|
|
case R_PPC_GLOB_DAT:
|
|
*reloc_addr = finaladdr;
|
|
*reloc_addr = finaladdr;
|
|
- goto out_nocode; /* No code code modified */
|
|
|
|
|
|
+ goto out_nocode; /* No code modified */
|
|
case R_PPC_JMP_SLOT:
|
|
case R_PPC_JMP_SLOT:
|
|
{
|
|
{
|
|
if (tpnt->dynamic_info[DT_PPC_GOT_IDX] != 0) {
|
|
if (tpnt->dynamic_info[DT_PPC_GOT_IDX] != 0) {
|
|
*reloc_addr = finaladdr;
|
|
*reloc_addr = finaladdr;
|
|
- goto out_nocode; /* No code code modified */
|
|
|
|
|
|
+ goto out_nocode; /* No code modified */
|
|
} else {
|
|
} else {
|
|
Elf32_Sword delta = finaladdr - (Elf32_Word)reloc_addr;
|
|
Elf32_Sword delta = finaladdr - (Elf32_Word)reloc_addr;
|
|
if (delta<<6>>6 == delta) {
|
|
if (delta<<6>>6 == delta) {
|
|
@@ -275,7 +275,7 @@ _dl_do_reloc (struct elf_resolve *tpnt,struct r_scope_elem *scope,
|
|
symbol_addr, reloc_addr);
|
|
symbol_addr, reloc_addr);
|
|
#endif
|
|
#endif
|
|
_dl_memcpy((char *) reloc_addr, (char *) finaladdr, sym_ref.sym->st_size);
|
|
_dl_memcpy((char *) reloc_addr, (char *) finaladdr, sym_ref.sym->st_size);
|
|
- goto out_nocode; /* No code code modified */
|
|
|
|
|
|
+ goto out_nocode; /* No code modified */
|
|
case R_PPC_ADDR16_HA:
|
|
case R_PPC_ADDR16_HA:
|
|
finaladdr += 0x8000; /* fall through. */
|
|
finaladdr += 0x8000; /* fall through. */
|
|
case R_PPC_ADDR16_HI:
|
|
case R_PPC_ADDR16_HI:
|
|
@@ -314,7 +314,7 @@ _dl_do_reloc (struct elf_resolve *tpnt,struct r_scope_elem *scope,
|
|
return -1;
|
|
return -1;
|
|
#endif
|
|
#endif
|
|
case R_PPC_NONE:
|
|
case R_PPC_NONE:
|
|
- goto out_nocode; /* No code code modified */
|
|
|
|
|
|
+ goto out_nocode; /* No code modified */
|
|
default:
|
|
default:
|
|
_dl_dprintf(2, "%s: can't handle reloc type ", _dl_progname);
|
|
_dl_dprintf(2, "%s: can't handle reloc type ", _dl_progname);
|
|
#if defined (__SUPPORT_LD_DEBUG__)
|
|
#if defined (__SUPPORT_LD_DEBUG__)
|