From: H.J. Lu Date: Wed, 18 Apr 2018 01:15:13 +0000 (-0700) Subject: x86: Don't define elf32_bed/elf64_bed variables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9dd20453a5e1ace27b71c66ca2b92f49c7271c2;p=binutils-gdb.git 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". --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8a9b96608be..b377bd3ead5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2018-04-17 H.J. Lu + + * 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 PR ld/23055