On 3 August 2012 12:48, Steve McIntyre steve.mcintyre@linaro.org wrote:
On Fri, Aug 03, 2012 at 01:11:23PM +0200, Loïc Minier wrote:
Perhaps this was brought up before, but is there an use case for mixing ABIs in the same ELF file? For instance, one could implement a portable ARM EABI binary not calling any float function but just dlopen()ing this or that library depending on which ABI variant it detects.
(It's an unlikely scenario, but I wanted to bring it up in case the plan would prevent this and could easily be made not to.)
We've discussed it in the past, and while you possibly *could* do it, it's such an edge case that nobody cared. Likely to be fragile, too.
If it really becomes necessary, an override flag to dlopen() should be simple enough to implement.