This is the mail archive of the binutils@sources.redhat.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: SH New PLT code


Hi Kaz,

> The attached patch is new PLT codes using r0, r1 only. SH PIC ABI
> says that r0 shows the type of PLT, r1 the offset into relocation
> table and r2 GOT id.

Thanks very much for submitting this patch.  No-one has posted any
objections to it, so I have approved it and applied it to the sources.

Note - I made two changes to the patch.  I added a comment at the
start, explaining why the PLT entries have changed, and I kept the old
PLT entries (but commented out), in case the patch raises problems and
we need to go back to the old method.

> BTW, The needed change of the dynamic linker is very tiny. If this
> patch is ok, I'll sent the patch to the SH specific resolver code
> of GNU libc to the libc-hackers.

Please do this.

> 2001-05-14  kaz Kojima  <kkojima@rr.iij4u.or.jp>
> 
> 	* elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry,
> 	elf_sh_plt_entry_be, elf_sh_plt_entry, elf_sh_pic_plt_entry_be,
> 	elf_sh_pic_plt_entry): New PLT code.

Approved and applied.

Cheers
        Nick


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