This is the mail archive of the binutils@sourceware.org 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: [PATCH, MIPS] Better diagnostic on incorrect size for .reginfo


Maciej W. Rozycki writes:
> > --- /dev/null	1 Jan 1970 00:00:00 -0000
> > +++ ld-mips-elf/reginfo-size.d	15 Aug 2007 19:02:33 -0000
> > @@ -0,0 +1,3 @@
> > +#source: reginfo-size.s
> > +#ld: -Treginfo-size.ld
> > +#error: .reginfo is .* bytes instead of .* bytes
> 
>  And add "-mabi=32" here.
> 
>  I think the mips64*-*-* target should test as much of the o32 ABI 
> functionality as possible so that subtle bugs based on configuration are 
> not accidentally introduced (well, they will regardless, but the denser 
> the testing sieve, the fewer will get through).

Unfortunately, it is not as simple.  For this to work on linux64, I
need to explicitly request the traditional o32 emulation from the
linker which obviously does not work with embedded targets.

I can create a third test for o32 with $newabi targets if you still
prefer to have this.

Adam


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