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: add vtable relocs for Alpha


Ian Lance Taylor <ian@zembu.com> writes:

> Andreas Jaeger <aj@suse.de> writes:
> 
> > Richard Henderson <rth@redhat.com> writes:
> > 
> > > On Wed, Jan 03, 2001 at 10:44:43AM +0000, Philip Blundell wrote:
> > > > Any objections to this patch?
> > > 
> > > Yes.  The vtable scheme needs to be rewritten, not
> > > propogated to other targets.
> > 
> > Richard, in which way should it be rewritten?  What should be done in
> > general with new targets?
> 
> 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?  Or is this approach
documented anywhere?

Thanks,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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