diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-01-15 07:43:19 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-01-15 07:43:19 -0800 |
commit | f9c316c4d75be236bbaa8464ef803ed2d3859d6d (patch) | |
tree | 27da23c6a6698c0af9bf64b0ae9f61f6561fdd6c /ld/ChangeLog | |
parent | b0a16e66b0391025b04acb79af36d4618379cb14 (diff) | |
download | gdb-f9c316c4d75be236bbaa8464ef803ed2d3859d6d.zip gdb-f9c316c4d75be236bbaa8464ef803ed2d3859d6d.tar.gz gdb-f9c316c4d75be236bbaa8464ef803ed2d3859d6d.tar.bz2 |
Silence uninitialized warning on ehdr_start_save
Older GCC, like 4.1/4.2, will issue an uninitialized warning on
ehdr_start_save. This patch silences by using
struct bfd_link_hash_entry ehdr_start_save = ehdr_start_save;
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Silence uninitialized warning on ehdr_start_save with older
GCC.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index eaa6b93..91055de 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2014-01-15 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Silence uninitialized warning on ehdr_start_save with older + GCC. + 2014-01-15 Alan Modra <amodra@gmail.com> * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define |