• Butterfly
    Butterfly
    munk
    Posts: 94 from 2006/3/27
    Quote:

    Andreas_Wolf wrote:
    > [vox] I remember there were mixed 68k/PPC elfs even

    No, there were not.

    This is blatantly wrong! Check mpega_libmad for powerUP which is a shared library with the PPC part being an ELF file included _in_ the HUNK structure. This required an additional program (eg. Data2Object). This technique can be used for "normal" programs as well.
    With EHF you would prelink all PPC code with -r into a single object using a suitable linker (eg. vlink) which would then be used in the final link.

    Quote:

    "Problem with ELF binary format was that [...] mixing PPC/68k code was not possible. "
    https://en.wikipedia.org/wiki/Amiga_Hunk#Extended_Hunk_format

    Sometimes information on wikipedia is indeed wrong.
  • »13.07.18 - 07:41
    Profile