aboutsummaryrefslogtreecommitdiff
path: root/tccpe.c
diff options
context:
space:
mode:
authorEmil <ez@la.mine.nu>2017-06-09 19:44:29 +0100
committerEmil <ez@la.mine.nu>2017-06-09 19:44:29 +0100
commit3e028af453f037870ca36defe85d86a21eee3b49 (patch)
tree8f1bf0e2a3927f1fa9740b4b976ffda60df632fc /tccpe.c
parent3e4b7693bfd5b76570b35558c83a935326513eff (diff)
downloadtinycc-3e028af453f037870ca36defe85d86a21eee3b49.tar.gz
tinycc-3e028af453f037870ca36defe85d86a21eee3b49.tar.bz2
When creating a staticaly linked ELF program should not include
any dyn symbols. The if( !s1->static_link ) prevents tcc from crashing when buiding a program linked to dietlibc. The section header should not contain the number of local symbols when the sh_size is null. This makes the header compliant and IDA will not issue any warnings when an executable is disassembled.
Diffstat (limited to 'tccpe.c')
0 files changed, 0 insertions, 0 deletions