This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFC PATCH] Synthetize some symbols for objdump -d
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 20 Apr 2004 14:17:01 -0400
- Subject: Re: [RFC PATCH] Synthetize some symbols for objdump -d
- References: <20040420110756.GZ514@sunsite.ms.mff.cuni.cz>
On Tue, Apr 20, 2004 at 01:07:56PM +0200, Jakub Jelinek wrote:
> Most of the arches should be able to use the generic code,
> if they use .got.plt they just need to define elf_backend_plt_entry_size
> and elf_backend_reserved_plt_size macros, otherwise they don't need
> anything in most cases. IA-64 will need to define elf_backend_relplt_name,
> sparc64 provide its own implementation (as part of PLT is normal PLT like,
> the second is .got.plt like).
>
> What do you think?
I think it's a glorious idea :) I'd like to see a comment somewhere
describing the limitations on elf_backend_plt_entry_size; I don't want
normal PLT-related code to start assuming that PLT entries have a fixed
size, since I have some patches for ARM to implement variable sized PLT
entries. I'm not quite sure how to fit that into this, though.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer