Skip to content
  • Artem Pyanykh's avatar
    Adjust section placement and relocation logic for Mach-O · 36818759
    Artem Pyanykh authored and Marge Bot's avatar Marge Bot committed
    1. Place each section on a separate page to ensure required
    alignment (wastes lots ot space, needs to be improved).
    2. Unwire relocation logic from macho sections (the most fiddly part
    is adjusting internal relocations).
    
    Other todos:
    0. Add a test for section alignment.
    1. Investigate 32bit relocations!
    2. Fix memory leak in ZEROPAGE section allocation.
    3. Fix creating redundant jump islands for GOT.
    4. Investigate more compact section placement.
    36818759