This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 0/2] LD/testsuite: run_dump_test: Bring in line with its binutils and GAS counterparts
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: <binutils at sourceware dot org>
- Cc: Alan Modra <amodra at gmail dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Thu, 5 Jul 2018 21:16:16 +0100
- Subject: [PATCH 0/2] LD/testsuite: run_dump_test: Bring in line with its binutils and GAS counterparts
Hi,
This small patch series means to bring the test status reporting in the
LD implementation of `run_dump_test' in line with its binutils and GAS
counterparts. See individual change descriptions for details.
No regressions across my usual test targets, OK to apply?
NB all `aarch64', `arm', `powerpc*'/`ppc' and `s390*' targets currently
fail building with GCC 4.4 and therefore were not tested. The build error
is the same across all these targets, although in different source files:
.../bfd/elfxx-aarch64.c: In function '_bfd_aarch64_elf_write_core_note':
.../bfd/elfxx-aarch64.c:643: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elfxx-aarch64.c:652: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elf32-arm.c: In function 'elf32_arm_nabi_write_core_note':
.../bfd/elf32-arm.c:2177: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elf32-arm.c:2186: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elf32-ppc.c: In function 'ppc_elf_write_core_note':
.../bfd/elf32-ppc.c:2414: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elf32-ppc.c:2423: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elf64-ppc.c: In function 'ppc64_elf_write_core_note':
.../bfd/elf64-ppc.c:3044: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elf64-ppc.c:3053: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elf32-s390.c: In function 'elf_s390_write_core_note':
.../bfd/elf32-s390.c:3954: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elf32-s390.c:3963: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elf64-s390.c: In function 'elf_s390_write_core_note':
.../bfd/elf64-s390.c:3763: error: #pragma GCC diagnostic not allowed inside functions
.../bfd/elf64-s390.c:3772: error: #pragma GCC diagnostic not allowed inside functions
I saw some discussion about it, but didn't get into the details of its
outcome. Clearly something isn't right here.
Maciej