[PATCH] dl: Use "adr" assembler command to get proper load address
Joseph Myers
joseph@codesourcery.com
Mon Sep 27 16:00:41 GMT 2021
On Sun, 26 Sep 2021, Lukasz Majewski wrote:
> > QEMU only becomes relevant if you have a binary that works when
> > executed on hardware but not on QEMU (or vice versa).
> >
> > (a) Do you have such a binary working on hardware but not on QEMU?
>
> Yes. I can run Beagle Bone generated image on the HW (without the fix),
> but it breaks down on QEMU.
If this is system QEMU emulation, that strongly suggests a QEMU bug, not a
glibc bug - meaning you should find where the execution diverges between
QEMU and hardware to identify the mis-emulated instruction.
(For QEMU usermode emulation, different address space layout compared to
running natively under the Linux kernel could be an issue.)
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list