-Og warning fixes
authorAlan Modra <amodra@gmail.com>
Sat, 2 Sep 2017 01:30:02 +0000 (11:00 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 2 Sep 2017 01:30:02 +0000 (11:00 +0930)
commit96d01d93c4025cddeff197c98c7947e2b8f427bd
treee6a5dd001dd23db17bf98a03759af3aefa6a7af7
parent96fbe52eaafef0e7abffc3e4d25fd89ae8464c88
-Og warning fixes

Found when building with gcc 4.9.4 using -Og.

bfd/
* elf-eh-frame.c (offset_adjust): Avoid false positive gcc warning.
* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Likewise.
* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Likewise.
ld/
* emultempl/msp430.em (eval_upper_either_sections): Make base_sec_name
a const char*.
(eval_lower_either_sections): Likewise.
(msp430_elf_after_allocation): Likewise, and don't needlessly concat
and free.  Warning fix.
bfd/ChangeLog
bfd/elf-eh-frame.c
bfd/elflink.c
bfd/elfnn-aarch64.c
ld/ChangeLog
ld/emultempl/msp430.em
This page took 0.02561 seconds and 4 git commands to generate.