diff options
author | Nick Clifton <nickc@redhat.com> | 2013-07-18 10:57:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-07-18 10:57:23 +0000 |
commit | 31f67965a18f5cd9027038e02af1513545594e4d (patch) | |
tree | 6c6945240290de9ba07e0c724d5390339280775e /binutils | |
parent | 3d78d3df90f9ef3605c8f9353d28dab4c7a4d110 (diff) | |
download | binutils-redhat-31f67965a18f5cd9027038e02af1513545594e4d.tar.gz |
* readelf.c (process_unwind): Do not return the result of a void
function.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3b36bc783f..255fc4778e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2013-07-18 Nick Clifton <nickc@redhat.com> + + * readelf.c (process_unwind): Do not return the result of a void + function. + 2013-07-15 Maciej W. Rozycki <macro@codesourcery.com> * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic diff --git a/binutils/readelf.c b/binutils/readelf.c index 16fec127c0..c4a5982141 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -7491,7 +7491,10 @@ process_unwind (FILE * file) for (i = 0; handlers[i].handler != NULL; i++) if (elf_header.e_machine == handlers[i].machtype) - return handlers[i].handler (file); + { + handlers[i].handler (file); + return; + } printf (_("\nThe decoding of unwind sections for machine type %s is not currently supported.\n"), get_machine_name (elf_header.e_machine)); |