From 46db40b0da939fb891d2f599e43d68b6ee4a3f8d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 12 Nov 2001 03:06:38 +0000 Subject: powerpc/elfinterp.c: Powerpc works now. Major rework; most relocs should work now. R_PPC_JMP_SLOT correctly being lazily relocated. hash.h: Added a field in elf_resolve to store a ppc-specific address. boot1.c: Added debugging code. Disabled check that fails on powerpc because the string literal requires a reloc that isn't performed. Added check to ignore d_tag if it is out of bounds, as has been observed with powerpc binaries. --- ldso/ldso/powerpc/dl-startup.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ldso/ldso/powerpc/dl-startup.h') diff --git a/ldso/ldso/powerpc/dl-startup.h b/ldso/ldso/powerpc/dl-startup.h index 30fd7542a..0e2e1f055 100644 --- a/ldso/ldso/powerpc/dl-startup.h +++ b/ldso/ldso/powerpc/dl-startup.h @@ -9,12 +9,10 @@ asm("\ .text .globl _dl_boot _dl_boot: - addi 3,1,4 + mr 3,1 + addi 1,1,-16 bl _dl_boot2 - - li 0,0 - lwz 0,42(0) .previous\n\ "); -- cgit v1.2.3