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]
Other format: [Raw text]

Re: mips: disable combreloc for NEWABI


On Sat, Oct 19, 2002 at 07:26:45PM -0300, Alexandre Oliva wrote:
> On Oct 19, 2002, Jakub Jelinek <jakub@redhat.com> wrote:
> 
> > These are IA-32 numbers, but it doesn't matter much, the same is true
> > on mips, as this is a generic problem, not arch specific.
> 
> I doubt very much these numbers have any resemblance with those you'd
> get on mips.  Please read my two previous postings, in which I explain
> the *only* kind of dynamic relocation on mips is RELATIVE, and they're
> already in the right sequence, and let me know whether you agree.

Well, all mips relocs are in fact not RELATIVE, but anyway,
this has nothing to do with RELATIVE or not RELATIVE, but mainly with
whether relocations against the same symbol are consecutive or not.
If mips does the sorting in elf*mips.c, then fine, but one has to
wonder why it cannot use the generic sorting and do the merging of
relocs against the same r_offset before the generic sorting.
If it does not, then it will hurt performance badly.

	Jakub


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