summaryrefslogtreecommitdiffstats
path: root/llvm/lib/BinaryFormat/Dwarf.cpp
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2018-03-11 20:58:18 +0000
committerPeter Smith <peter.smith@linaro.org>2018-03-11 20:58:18 +0000
commit18aa0be36ed98e7d788d312bf5e21ae597f2e209 (patch)
tree2d522da9019d888aa9f8be6c76bf6c68114cc90f /llvm/lib/BinaryFormat/Dwarf.cpp
parentd09cc9c62c61c38e0793f4b56389453bb7a82d51 (diff)
downloadbcm5719-llvm-18aa0be36ed98e7d788d312bf5e21ae597f2e209.tar.gz
bcm5719-llvm-18aa0be36ed98e7d788d312bf5e21ae597f2e209.zip
For most Targets the _GLOBAL_OFFSET_TABLE_ symbol is expected to be at
the start of the .got.plt section so that _GLOBAL_OFFSET_TABLE_[0] = reserved value that is by convention the address of the dynamic section. Previously we had defined _GLOBAL_OFFSET_TABLE_ as either the start or end of the .got section with the intention that the .got.plt section would follow the .got. However this does not always hold with the current default section ordering so _GLOBAL_OFFSET_TABLE_[0] may not be consistent with the reserved first entry of the .got.plt. X86, X86_64, Arm and AArch64 will use the .got.plt. Mips and Power use .got Fixes PR36555 Differential Revision: https://reviews.llvm.org/D44259 llvm-svn: 327248
Diffstat (limited to 'llvm/lib/BinaryFormat/Dwarf.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud