Questions regarding m68k dynamic/shared code
Thu Jan 9 22:46:00 GMT 2003
On Thu, Jan 09, 2003 at 11:40:24AM -0500, Peter Barada wrote:
> What's the difference between the first entry and all the others? (why
> in bfd/elf32-m68k.c is there a elf_m68k_plt_entry and elf_m68k_plt0_entry?)
The first entry enters the dynamic linker. The others are
initialized such that they go to either the first entry,
and are later adjusted so that they go to the target function.
> If its just an indirect jump, then why is there more than one
> instruction in each plt entry (if the code after the jmp is
> unreachable, why are the folliing insns there)?
Look at how the plt entry is initialized. I'm certain
that those instructions are used.
More information about the Binutils