diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-04-17 18:15:13 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-04-17 18:15:13 -0700 |
commit | d9dd20453a5e1ace27b71c66ca2b92f49c7271c2 (patch) | |
tree | 84f6b2295fd7dff9c2f7b5985598c37eab47c64c | |
parent | 8f56f7a23911b6a48b372c8f0893343bfe7ed2e9 (diff) | |
download | gdb-d9dd20453a5e1ace27b71c66ca2b92f49c7271c2.zip gdb-d9dd20453a5e1ace27b71c66ca2b92f49c7271c2.tar.gz gdb-d9dd20453a5e1ace27b71c66ca2b92f49c7271c2.tar.bz2 |
x86: Don't define elf32_bed/elf64_bed variables
Define elf32_bed and elf64_bed before including "elf32-target.h" and
"elf64-target.h" to avoid local elf32_bed and elf64_bed variables.
* elf32-i386.c (elf32_bed): Define before including
"elf32-target.h".
* elf64-x86-64.c (elf64_bed): Define before including
"elf64-target.h".
(elf32_bed): Define before including "elf32-target.h".
-rw-r--r-- | bfd/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8a9b966..b377bd3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,13 @@ 2018-04-17 H.J. Lu <hongjiu.lu@intel.com> + * elf32-i386.c (elf32_bed): Define before including + "elf32-target.h". + * elf64-x86-64.c (elf64_bed): Define before including + "elf64-target.h". + (elf32_bed): Define before including "elf32-target.h". + +2018-04-17 H.J. Lu <hongjiu.lu@intel.com> + PR ld/23055 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Use a normal input file with compatible relocation. |