This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: add vtable relocs for Alpha
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: add vtable relocs for Alpha
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 19 Feb 2001 12:32:40 -0800
- Cc: Richard Henderson <rth at redhat dot com>, Philip Blundell <pb at futuretv dot com>, binutils at sources dot redhat dot com
- References: <E14DlPP-000625-00@pig.labs.futuretv.com><20010103094044.B14755@redhat.com> <hog0hbue5c.fsf@gee.suse.de><si7l2m348l.fsf@daffy.airs.com><u8ofvy4eth.fsf@gromit.rhein-neckar.de>
Andreas Jaeger <aj@suse.de> writes:
> > It should be rewritten to not use relocation entries. Using
> > relocation entries requires changes to every single ELF target file.
> >
> > Instead, the vtable information should be stored in special sections.
> > The linker should read the information out of those sections. This
> > can be done in generic code in elflink.[ch].
>
> Is any architecture doing it this way already?
No. This should be written in a manner which causes all architectures
to start using it automatically.
> Or is this approach
> documented anywhere?
No.
Ian