This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PPC Java fix and better relocation error reporting
On Wednesday 03 January 2001 05:51, Ulrich Drepper wrote:
> Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
> > 2 minor patches, the first marks __data_start global for Java use, the
> > 2nd makes the error reporting for relocation errors more useful.
>
> Thanks, I've applied the patch now.
You somehow missed a small typo fix. Patch appended.
BTW, is it correct that your From: (Red Hat) and Reply-To: (Cygnus) address
differ?
Franz.
* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Typo fix.
Index: sysdeps/powerpc/dl-machine.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/powerpc/dl-machine.c,v
retrieving revision 1.14
diff -u -p -r1.14 dl-machine.c
--- sysdeps/powerpc/dl-machine.c 2001/01/03 04:49:19 1.14
+++ sysdeps/powerpc/dl-machine.c 2001/01/03 15:55:37
@@ -452,7 +452,7 @@ __process_machine_rela (struct link_map
{
Elf32_Sword delta = finaladdr - (Elf32_Word) reloc_addr;
if (delta << 6 >> 6 != delta)
- dl_reloc_overflow (map, "R_PPC_REL14", reloc_addr, sym, refsym);
+ dl_reloc_overflow (map, "R_PPC_REL24", reloc_addr, sym, refsym);
*reloc_addr = (*reloc_addr & 0xfc000003) | (delta & 0x3fffffc);
}
break;