Properly handle 64-bit GOT relocations
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 27 May 2014 19:19:33 +0000 (12:19 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 27 May 2014 19:20:18 +0000 (12:20 -0700)
This patch fixes 2 issues:

1. Since the GOT offset is always negative, we need to use signed int
to support 64-bit GOT relocations.
2. R_X86_64_PLTOFF64 uses the address of GLOBAL_OFFSET_TABLE, which is
the address of the .got.plt section, not the .got section.


No differences found
This page took 0.024515 seconds and 4 git commands to generate.