diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-10-18 04:34:36 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-10-18 04:36:55 +0100 |
commit | 61034b0b6acc6ff72def5f5ecdbe628edc5d67ea (patch) | |
tree | b6d185b25f8c5a3f29774fc5cb738948681fe589 /opcodes | |
parent | c48182bfe408e06e3301ee887fd9a7b06bedff37 (diff) | |
download | gdb-61034b0b6acc6ff72def5f5ecdbe628edc5d67ea.zip gdb-61034b0b6acc6ff72def5f5ecdbe628edc5d67ea.tar.gz gdb-61034b0b6acc6ff72def5f5ecdbe628edc5d67ea.tar.bz2 |
NDS32/BFD: Correct an aliasing error in `nds32_elf_check_relocs'
Fix an aliasing build error:
cc1: warnings being treated as errors
.../bfd/elf32-nds32.c: In function 'nds32_elf_check_relocs':
.../bfd/elf32-nds32.c:6644: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [elf32-nds32.lo] Error 1
in a way following commit 6edfbbad0864 ("Fix up gcc4.1 aliasing
warnings"), <https://sourceware.org/ml/binutils/2005-10/msg00071.html>.
bfd/
* elf32-nds32.c (nds32_elf_check_relocs): Avoid aliasing warning
from GCC.
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions