[elbe-devel] [PATCH 7/8] makofiles toolchain-shar-extract.sh.mako: improve the relocation code

John Ogness john.ogness at linutronix.de
Wed May 15 16:32:05 CEST 2019


On 2019-05-14, Torben Hohn <torben.hohn at linutronix.de> wrote:
> +# TODO: target_executable files do not exist yet,
> +#       to handle these we would need proper identification
> +#       of the target interpreter.
> +#
> +#       the difference to the native interpreter is, that the
> +#       target interpreter does not necessarily exist.
> +#
> +#       do not skip the interpreter, and do not handle target_executable
> +#       files yet.

Why are target elf files being patched? Is this necessary for building
executables/libraries? If the target binaries should be emulated on the
host, qemu-user has the "-L" option.

I would expect that it is enough to patch the ld scripts.

By the way, what about things like pkg-config files?

John Ogness



More information about the elbe-devel mailing list