Fixes for a small number of compiler warnings
authorEd Schouten <ed@nuxi.nl>
Tue, 31 Mar 2015 14:47:10 +0000 (16:47 +0200)
committerAlan Modra <amodra@gmail.com>
Wed, 1 Apr 2015 00:36:14 +0000 (11:06 +1030)
commit4e791d0fb1173330424b69cfbdece9e1764186a6
tree25bfc6675cd646b45f6a67b551d98c69df40a457
parent2ae0baa450dc21cf248cc932d05d9e1fd154e141
Fixes for a small number of compiler warnings

The ehdr_start_save variable does not need to be initialized.  However,
not initializing it will trigger a compiler warning when using older
versions of GCC.  Self-assignment unfortunately doesn't work for Clang
as Clang has a warning similar to -Winit-self as part of -Wall.

* emultempl/elf32.em (gld*_before_allocation): Zero-initialize
the ehdr_start_save variable.
ld/ChangeLog
ld/emultempl/elf32.em
This page took 0.039726 seconds and 4 git commands to generate.