Greetings,
I've been chasing a build problem with GCL on ARM for some time. Upstream has found what appears to be a solution, with the help of an ARM VM derived from the Fedora 18 Beta image. Thanks for that!
Upstream has one problem, though. On the other supported platforms (Debian, various flavors of BSD), the reloc type defines (R_ARM_MOVT_ABS, etc.) are available in some userspace header. I see them in the Llinux kernel sources, in arch/arm/include/asm/elf.h, but neither GCL upstream nor I can find them in any available userspace header on Fedora 18. Does anybody know if they are available somewhere?
Thanks, -- Jerry James http://www.jamezone.org/
I will followup on this when back tomorrow. There is no reason we can't handle this. For those curious, this is a v7 relocation used to patch an absolute address being loaded, etc.
Jerry James loganjerry@gmail.com writes:
Upstream has one problem, though. On the other supported platforms (Debian, various flavors of BSD), the reloc type defines (R_ARM_MOVT_ABS, etc.) are available in some userspace header. I see them in the Llinux kernel sources, in arch/arm/include/asm/elf.h, but neither GCL upstream nor I can find them in any available userspace header on Fedora 18. Does anybody know if they are available somewhere?
The relocation numbers are generally in elf.h distributed by glibc (elf/elf.h in the source). R_ARM_MOVT_ABS in particular is absent from that file though. I see it listed in [1], so I I'll post a patch adding these missing defines later today.
Thanks, PM
[1] ELF for the ARMĀ® Architecture http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044e/IHI0044E_aaelf.pdf