Skip to content
  • Stephen Crane's avatar
    Fix _GLOBAL_OFFSET_TABLE_ value for large GOTs (aarch64). · a45a8f91
    Stephen Crane authored
    Gold resolves GOT-relative relocs relative to the GOT base +
    0x8000 when the GOT is larger than 0x8000. However, previously
    the _GLOBAL_OFFSET_TABLE_ symbol was set to GOT base + 0x8000
    when the .got.plt was larger than 0x8000. This patch makes both
    checks use the size of the .got section so that they agree when
    to add 0x8000.
    a45a8f91
To find the state of this project's repository at the time of any of these versions, check out the tags.