Deleted Added
full compact
29c29
< * $FreeBSD: head/libexec/rtld-elf/powerpc/reloc.c 112242 2003-03-14 21:10:13Z kan $
---
> * $FreeBSD: head/libexec/rtld-elf/powerpc/reloc.c 115396 2003-05-29 22:58:26Z kan $
58c58
< /*
---
> /*
61c61
< assert(dstobj->mainprog);
---
> assert(dstobj->mainprog);
63c63
< relalim = (const Elf_Rela *) ((caddr_t) dstobj->rela +
---
> relalim = (const Elf_Rela *) ((caddr_t) dstobj->rela +
84,85c84,85
<
< for (srcobj = dstobj->next; srcobj != NULL;
---
>
> for (srcobj = dstobj->next; srcobj != NULL;
99c99
<
---
>
101c101
< memcpy(dstaddr, srcaddr, size);
---
> memcpy(dstaddr, srcaddr, size);
104c104
<
---
>
134c134
< * Relocate these values
---
> * Relocate these values
145c145
< * Relocate a non-PLT object with addend.
---
> * Relocate a non-PLT object with addend.
157c157
<
---
>
180c180
<
---
>
200c200
< }
---
> }
212c212
< ELF_R_TYPE(rela->r_info));
---
> ELF_R_TYPE(rela->r_info));
215c215
< return (0);
---
> return (0);
241c241
< * "The PowerPC family uses only the Elf32_Rela relocation
---
> * "The PowerPC family uses only the Elf32_Rela relocation
279c279
< dbg(" reloc_plt_object: where=%p,pltres=%p,reloff=%x,distance=%x",
---
> dbg(" reloc_plt_object: where=%p,pltres=%p,reloff=%x,distance=%x",
307c307
< relalim = (const Elf_Rela *)((char *)obj->pltrela +
---
> relalim = (const Elf_Rela *)((char *)obj->pltrela +
355c355
< reloc_jmpslot(where, target, defobj, obj,
---
> reloc_jmpslot(where, target, defobj, obj,
377c377
< dbg(" reloc_jmpslot: where=%p, target=%p",
---
> dbg(" reloc_jmpslot: where=%p, target=%p",
447,452c447,452
< * 'If the executable or shared object requires N procedure
< * linkage table entries, the link editor shall reserve 3*N
< * words (12*N bytes) following the 18 reserved words. The
< * first 2*N of these words are the procedure linkage table
< * entries themselves. The static linker directs calls to bytes
< * (72 + (i-1)*8), for i between 1 and N inclusive. The remaining
---
> * 'If the executable or shared object requires N procedure
> * linkage table entries, the link editor shall reserve 3*N
> * words (12*N bytes) following the 18 reserved words. The
> * first 2*N of these words are the procedure linkage table
> * entries themselves. The static linker directs calls to bytes
> * (72 + (i-1)*8), for i between 1 and N inclusive. The remaining