This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Sync libiberty/ & include/ with GCC
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Pedro Alves <palves at redhat dot com>
- Cc: binutils at sourceware dot org, gdb-patches at sourceware dot org
- Date: Sat, 16 Sep 2017 20:47:49 +0200
- Subject: Re: [PATCH] Sync libiberty/ & include/ with GCC
- Authentication-results: sourceware.org; auth=none
- References: <1505493997-31716-1-git-send-email-palves@redhat.com>
On Sep 15 2017, Pedro Alves <palves@redhat.com> wrote:
> 2017-09-12 Jiong Wang <jiong.wang@arm.com>
>
> * dwarf2.def (DW_CFA_AARCH64_negate_ra_state): New DW_CFA_DUP.
> * dwarf2.h (DW_CFA_DUP): New define.
That breaks gold:
g++ -DHAVE_CONFIG_H -I. -I../../binutils/gold -I../../binutils/gold -I../../binutils/gold/../include -I../../binutils/gold/../elfcpp -DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\"" -DTOOLBINDIR="\"/usr/x86_64-linux/bin\"" -DTOOLLIBDIR="\"/usr/x86_64-linux/lib\"" -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=dwarf_reader.o -O2 -g -MT dwarf_reader.o -MD -MP -MF .deps/dwarf_reader.Tpo -c -o dwarf_reader.o ../../binutils/gold/dwarf_reader.cc
In file included from ../../binutils/gold/../elfcpp/dwarf.h:83:0,
from ../../binutils/gold/dwarf_reader.cc:30:
../../binutils/gold/../include/dwarf2.def:781:1: error: expected ‘}’ before ‘DW_CFA_DUP’
DW_CFA_DUP (DW_CFA_AARCH64_negate_ra_state, 0x2d)
^
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."