summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command
diff options
context:
space:
mode:
authorSean Fertile <sfertile@ca.ibm.com>2019-01-24 18:17:40 +0000
committerSean Fertile <sfertile@ca.ibm.com>2019-01-24 18:17:40 +0000
commit83cb252876e7dbb80313ad80661b3928b6647f20 (patch)
treecdd77b6d2e9700d9ba761997d78032e41f2dc61c /lldb/packages/Python/lldbsuite/test/expression_command
parentec33fd6dd5a120699cdf8f5d103e7ab4052c657b (diff)
downloadbcm5719-llvm-83cb252876e7dbb80313ad80661b3928b6647f20.tar.gz
bcm5719-llvm-83cb252876e7dbb80313ad80661b3928b6647f20.zip
[PPC64] Reland r351978 'Sort .toc sections accessed with small code model ...'
Guessing that the slashes used in the scripts SECTION command was causing the windows related failures in the added test. Original commit message: Small code model global variable access on PPC64 has a very limited range of addressing. The instructions the relocations are used on add an offset in the range [-0x8000, 0x7FFC] to the toc pointer which points to .got +0x8000, giving an addressable range of [.got, .got + 0xFFFC]. While user code can be recompiled with medium and large code models when the binary grows too large for small code model, there are small code model relocations in the crt files and libgcc.a which are typically shipped with the distros, and the ABI dictates that linkers must allow linking of relocatable object files using different code models. To minimze the chance of relocation overflow, any file that contains a small code model relocation should have its .toc section placed closer to the .got then any .toc from a file without small code model relocations. Differential Revision: https://reviews.llvm.org/D56920 llvm-svn: 352071
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud