tccelf: avoid lookup of _GLOBAL_OFFSET_TABLE_
commit7d6979d45253656c77827fa3b44ffe7c12fbe3dd
authorgrischka <grischka>
Sat, 28 May 2022 18:59:25 +0000 (28 20:59 +0200)
committergrischka <grischka>
Sun, 24 Jul 2022 07:42:04 +0000 (24 09:42 +0200)
tree8823f2d21c666d97190e11994d57746061449771
parentc81519e1c45e4f902332d72096680caeb6e087e2
tccelf: avoid lookup of _GLOBAL_OFFSET_TABLE_

Instead, return its symbol index from build_got_entries()
Also, copy dynamic symbols later when size of _GLOBAL_OFFSET_TABLE_
was already set and handle -rdynamic there too.
See commit 4c82b003420fabbb95e077866784badc1a49189b

5 insertions(+), 5 deletions(-)
tcc.h
tccelf.c
tccrun.c