aboutsummaryrefslogtreecommitdiff
path: root/tests2/15_recursion.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-01-25 20:01:43 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-01-25 20:06:51 +0100
commitf8cde529843ba15ba2f6981d4401b5be1009c5c5 (patch)
treed34e7b67fed2ffa832fca0f1c87b2674f3b4df25 /tests2/15_recursion.c
parentb89793d10a8cf1c3fa237d98cf4b656ac5aabf55 (diff)
downloadtinycc-f8cde529843ba15ba2f6981d4401b5be1009c5c5.tar.gz
tinycc-f8cde529843ba15ba2f6981d4401b5be1009c5c5.tar.bz2
Link STT_GNU_IFUNC into STT_FUNC in executable.
Indirect functions shall have STT_FUNC type in executable dynsym section. Indeed, a dlsym call following a lazy resolution would pick the symbol value from the executable dynsym entry. This would contain the address of the function wanted by the caller of dlsym instead of the address of the function that would return that address.
Diffstat (limited to 'tests2/15_recursion.c')
0 files changed, 0 insertions, 0 deletions