• MorphOS Developer
    bigfoot
    Posts: 508 from 2003/4/11
    Not the most practical guide, but the relocations are documented in System V Application Binary Interface - PowerPC Processor Supplement.

    Off the top of my head, I'd say that for simple programs you will run into R_PPC_REL24 and R_PPC_REL14 for branches, R_PPC_ADDR32 for pointers in data and R_PPC_ADDR16_HA, R_PPC_ADDR16_HI and R_PPC_ADDR16_LO for building 32 bit addresses with PPC instructions.
    I rarely log in to MorphZone which means that I often miss private messages sent on here. If you wish to contact me, please email me at [username]@asgaard.morphos-team.net, where [username] is my username here on MorphZone.
  • »04.01.16 - 06:17
    Profile Visit Website