forked from Imagelibrary/binutils-gdb
Re: loongarch readelf support
Commit 89c70cd358 apparently results in a bogus "value may be used
uninitialized" warning with some combination of compiler and
optimisation options.
* readelf.c (target_specific_reloc_handling): Init value.
This commit is contained in:
@@ -14017,7 +14017,7 @@ target_specific_reloc_handling (Filedata *filedata,
|
||||
case 107: /* R_LARCH_ADD_ULEB128. */
|
||||
case 108: /* R_LARCH_SUB_ULEB128. */
|
||||
{
|
||||
uint64_t value;
|
||||
uint64_t value = 0;
|
||||
unsigned int reloc_size = 0;
|
||||
int leb_ret = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user