This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: sorting dynamic relocation entries.
- To: Ian Lance Taylor <ian at zembu dot com>
- Subject: Re: sorting dynamic relocation entries.
- From: Koundinya K <knk at dde dot dk>
- Date: Sat, 11 Mar 2000 19:17:26 -0700
- CC: binutils at sourceware dot cygnus dot com
- Organization: DDE
- References: <38C81979.1638CFB7@dde.dk> <20000310063024.6958.qmail@daffy.airs.com> <38CAD49C.6475912C@dde.dk> <20000311180056.1085.qmail@daffy.airs.com>
Hi Ian,
I could not understand what you meant by saying "add 64-bit support
............?. ". I can make that test, that should not be a problem.
Hmm.......I think there is some confusion on my side w.r.t this. Won't the code
that be generic all mips targets ?
koundinya
Ian Lance Taylor wrote:
> Date: Sat, 11 Mar 2000 16:19:56 -0700
> From: Koundinya K <knk@dde.dk>
>
> Does the above code look O.K ?. In particular is the reading of the relocs
> O.K ?
>
> Now how do I reflect the change in the "contents" field of the .rel.dyn
> section ??
>
> Just sort the relocs in place. Don't copy them into another array.
> There already right there in memory anyhow. Remember that they have
> been swapped out; write your comparison function to deal with external
> relocs, not Elf_Internal_Rela. Add 64-bit support if ABI_64_P is
> true.
>
> Ian