summaryrefslogtreecommitdiffstats
path: root/tests/funcretval_test.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2018-01-25 14:37:17 +0100
committerMark Wielaard <[email protected]>2018-01-25 14:37:17 +0100
commit4407903a7433327dbeda74519d036fc82ef64de3 (patch)
tree1ad3284b16d1ebbc02eff82a1e5a0600a552b89b /tests/funcretval_test.c
parente98f032d293a8ea8ea2b25949d7f452603e644d9 (diff)
tests: Check symtabshdr instead of symtabndx in elfstrmerge.c.
Some gcc omptimization levels (-Og in particular) didn't see that when symtabndx != 0, then symtabshdr was certain to be initialized. Change the symtabndx == 0 check to symtabshdr == NULL and initialize symtabshdr to work around that. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/funcretval_test.c')
0 files changed, 0 insertions, 0 deletions