Skip to content

Add more ld.so implementations

Simon McVittie requested to merge smcv/libcapsule:wip/more-ld.so into master

libcapsule only supports x86, but for completeness we have a list of non-x86 ld.so implementations, in order to be one step closer to portability. This MR expands and corrects that list a bit.

  • capture-libs: Fix path to hppa, m68k, powerpc, s390 ld.so.1

    This was probably copy/paste damage from some other architecture. According to https://sourceware.org/glibc/wiki/ABIList these architectures are 32-bit (or technically 31-bit for s390) and install their ld.so in /lib.

  • capture-libs: Add ld.so for aarch64_be-linux-gnu

    We have no plans to support big-endian 64-bit ARM, but since we have a reasonably comprehensive list here, we might as well include it.

    Reference: https://wiki.debian.org/Multiarch/Tuples, https://sourceware.org/glibc/wiki/ABIList#aarch64

  • capture-libs: Add commented-out ld.so for some more obscure architectures

    I don't know the right predefined macros to detect these, so they're just comments for possible future reference.

/cc @vivek @denittis

Merge request reports