OSDN Git Service

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