This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix n64 fallout from MIPS prelinker patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]