diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-02-09 15:11:01 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-02-09 15:11:01 +0000 |
commit | a0a65f973a9369ed162ca1837497c413758b183c (patch) | |
tree | 94232e796ac5e5b648736ae058a5bc10a0ba77b5 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | ad3293744a40a1a84b171abd92b20e119f28c493 (diff) | |
download | bcm5719-llvm-a0a65f973a9369ed162ca1837497c413758b183c.tar.gz bcm5719-llvm-a0a65f973a9369ed162ca1837497c413758b183c.zip |
Use the plt entry as the address of some symbols.
This is the function equivalent of a copy relocation.
Since functions are expected to change sizes, we cannot use copy
relocations. In situations where one would be needed, what is done
instead is:
* Create a plt entry
* Output an undefined symbol whose addr is the plt entry.
The dynamic linker makes sure any shared library uses the plt entry as
the function address.
llvm-svn: 260224
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions