This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCHv3, MIPS] Add support for O32 FPXX and program header based ABI information


Joseph S. Myers <joseph@codesourcery.com>  writes:
> On Thu, 2 Oct 2014, Matthew Fortune wrote:
> 
> > == Mixing old and new executables with post-PT_MIPS_ABIFLAGS dynamic
> linkers ==
> >
> > One caveat appears when mixing old soft-float with new soft-float. Since
> the old
> > soft-float binaries had no dynamic linker visible markings then
> > post-PT_MIPS_ABIFLAGS logic detects these as hard-float. This means that
> mixing
> > old and new soft-float is not possible and will be rejected. Since soft-
> float is
> > not a publicly supported ABI variant for any major MIPS Linux distribution
> it
> > seems reasonable for this to take the hit of needing a re-build.
> 
> No, this should work - meaning that the new logic should accept old
> binaries without PT_MIPS_ABIFLAGS as possibly being either hard or soft
> float.

Just checking your opinion here. I'm relaxing the linkage rules for
non-PT_GNU_MIPS binaries such that they can link with SOFT|DOUBLE|FPXX|FP64A
but strictly not FP64. I am on the fence as to whether I should allow SINGLE
as well. Strictly speaking there could be GNU systems with single-float but
I don't think GLIBC supports single-float so it is unlikely that there are any
non-PT_GNU_MIPS binaries out there using single-float. Every special case
costs extra code complexity and test coverage so if it is not important I'd
rather leave it.

What do you think?

Matthew


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