diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2013-01-25 20:01:43 +0100 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2013-01-25 20:06:51 +0100 |
| commit | f8cde529843ba15ba2f6981d4401b5be1009c5c5 (patch) | |
| tree | d34e7b67fed2ffa832fca0f1c87b2674f3b4df25 /tests | |
| parent | b89793d10a8cf1c3fa237d98cf4b656ac5aabf55 (diff) | |
| download | tinycc-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 'tests')
0 files changed, 0 insertions, 0 deletions
