* elf32-i386.c (elf_i386_check_relocs): Don't cast a unary &
authorDJ Delorie <dj@redhat.com>
Wed, 31 Aug 2005 23:45:46 +0000 (23:45 +0000)
committerDJ Delorie <dj@redhat.com>
Wed, 31 Aug 2005 23:45:46 +0000 (23:45 +0000)
commite81d3500e7844b11a96a65411d11469706c40e70
tree86a972ce3365d1a353b9a040b675ab9a699abab1
parentcb2f3a2924275eb32ef1d02a5b7070c450592fd5
* elf32-i386.c (elf_i386_check_relocs): Don't cast a unary &
address operator, as that breaks GCC's strict aliasing rules.
(elf_i386_size_dynamic_sections): Avoid the need for type
punning.
* elf64-x86-64.c (elf_x86_64_check_relocs): Don't cast a unary
& address operator, as that breaks GCC's strict aliasing
rules.
(elf_x86_64_size_dynamic_sections): Avoid the need for type
punning.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c