Cleanups (float consts, sections, symbols)
commitc7dbc900c8089ddff753ca2d618fb313b357d927
authorMichael Matz <matz@suse.de>
Sun, 12 Mar 2017 04:25:09 +0000 (12 05:25 +0100)
committerMichael Matz <matz@suse.de>
Tue, 2 May 2017 01:13:55 +0000 (2 03:13 +0200)
tree81496586280f07286c3c79e7c4a4a74ebb7dc39f
parent25522e4799d1bcfd04de521d1e14b725c69f2f41
Cleanups (float consts, sections, symbols)

introduce common_section (SHN_COMMON), factorize some handling
in decl_initializer_alloc, add section_add and use it to factorize
some code that allocates stuff in sections (at the same time also fixing
harmless bugs re section alignment), use init_putv to emit float consts
into .data from gv() (fixing an XXX).
tcc.h
tccelf.c
tccgen.c