diff options
| author | Mark Wielaard <[email protected]> | 2018-01-25 14:37:17 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2018-01-25 14:37:17 +0100 |
| commit | 4407903a7433327dbeda74519d036fc82ef64de3 (patch) | |
| tree | 1ad3284b16d1ebbc02eff82a1e5a0600a552b89b /tests/funcretval_test.c | |
| parent | e98f032d293a8ea8ea2b25949d7f452603e644d9 (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
