projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92deb60
)
Re: loongarch readelf support
author
Alan Modra
<amodra@gmail.com>
Tue, 6 Jun 2023 10:26:56 +0000
(19:56 +0930)
committer
Alan Modra
<amodra@gmail.com>
Tue, 6 Jun 2023 10:39:39 +0000
(20:09 +0930)
Commit
89c70cd358b8
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.
binutils/readelf.c
patch
|
blob
|
history
diff --git
a/binutils/readelf.c
b/binutils/readelf.c
index 23d3e21bea68f005d74e02c190856b831d98d0c6..c3e5c587afe60284618d6e666202489a7e7ce0f7 100644
(file)
--- a/
binutils/readelf.c
+++ b/
binutils/readelf.c
@@
-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;