This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Fix n64 fallout from MIPS prelinker patch
- From: Daniel Jacobowitz <drow at false dot org>
- To: libc-ports at sourceware dot org, rsandifo at nildram dot co dot uk
- Date: Wed, 23 May 2007 12:51:00 -0400
- Subject: Re: Fix n64 fallout from MIPS prelinker patch
- References: <877iu3jnin.fsf@firetop.home>
On Tue, Feb 27, 2007 at 09:31:28PM +0000, Richard Sandiford wrote:
> As Khem noticed, my prelinker patch broke n64. I'd forgotten
> (not for the first time) that Elf64_Word is actually a 32-bit
> value. Specifically, r_info is an Elf32_Word but an Elf64_Xword.
>
> Unfortunately, there's no such thing as an Elf32_Xword, so this
> patch changes the type of elf_machine_reloc's r_info field from
> ElfW(Word) to ElfW(Addr), which is 32 bits for ELF32 and 64 bits
> for ELF64. Please install if OK.
As we discussed, I checked in the first part of this patch; I think
the rest is unnecessary.
--
Daniel Jacobowitz
CodeSourcery