aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/43_void_param.expect
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2016-11-17 23:00:11 +0000
committerThomas Preud'homme <robotux@celest.fr>2016-12-03 17:26:51 +0000
commita11b0a67e368f86751431f827db3ca85682b9864 (patch)
tree4ca5011b3dfc25ed1b7c8ec7321ebd0cc62e6395 /tests/tests2/43_void_param.expect
parent1c811a4d1db56e4ed4fefa99ea39c679aa0c29f0 (diff)
downloadtinycc-a11b0a67e368f86751431f827db3ca85682b9864.tar.gz
tinycc-a11b0a67e368f86751431f827db3ca85682b9864.tar.bz2
Consolidate GOT creation in build_got_entries
Currently GOT/PLT creation happens in two locations depending on whether the GOT/PLT [entry] is required by the symbol or the relocation: - bind_exe_dynsym for relocations to undefined symbol - build_got_entries/put_got_entry for relocations that require a GOT/PLT entry This commit consolidate GOT/PLT creation in build_got_entries by reducing bind_exe_dynsym's job to create a dynamic symbol for undefined symbols. build_got_entries then invoke put_got_entry if the symbol being relocated is undefined or the relocation asks for a PLT or GOT [entry]. put_got_entry is also modified to only export a symbol in the dynamic symbol table when we are in the case of PLT/GOT [entry] required by the relocation (since undefined symbol are already exported by bind_exe_dynsym).
Diffstat (limited to 'tests/tests2/43_void_param.expect')
0 files changed, 0 insertions, 0 deletions