This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: sorting dynamic relocation entries.


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


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