All those old patches.

Momchil Velikov velco@fadata.bg
Thu May 25 08:53:00 GMT 2000


Michael Meissner wrote:
> 
> On Thu, May 25, 2000 at 11:29:38AM +0200, Momchil Velikov wrote:
> > Geoff Keating wrote:
> > >
> > > > Date: Thu, 25 May 2000 10:09:16 +0200
> > > > From: Momchil Velikov <velco@fadata.bg>
> > > > X-Accept-Language: en
> > > >
> > > > I'd propose getting rid of `ppc_elf_howto_raw' and
> > > > `ppc_elf_howto_init()'
> > > > and statically initializing `ppc_elf_howto_table'.
> > >
> > > How do you propose to initialise ppc_elf_howto_table statically,
> > > without encoding knowledge about the numbers the relocs have?
> >
> > Of course, a static initialization would know about the
> > numbers of relocs. However, how often they change? I guess
> > the reloc numbers survive across several (if not all) ABI revisions.
> 
> The main problem is that the table is sparse (it jumps from 36 to 101 for the
> eabi extensions, and then from 116 to 253 for the gnu extensions).

Yep. But `ppc_elf_howto_table' IS sparse already. We can just
remove the dense one (ppc_elf_howto_raw) and the init function. 

Regards,
-velco


More information about the Binutils mailing list