* elf32-i386.c (elf_i386_check_relocs): Don't cast a unary &
commitd0240f628cb407bab0bd45aba7a8423f9be96fa6
authorDJ Delorie <dj@delorie.com>
Wed, 31 Aug 2005 23:45:46 +0000 (31 23:45 +0000)
committerDJ Delorie <dj@delorie.com>
Wed, 31 Aug 2005 23:45:46 +0000 (31 23:45 +0000)
treec1969ff6f465bd87096329f029d3ba5a09bbc7d9
parent535ac5565018bb85eb7ae98dea978d07f37aa099
* 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