• Alan Modra's avatar
    Fix diagnostic errors · e55992d4
    Alan Modra authored
    Fixes a number of build errors like the following
    .../elf32-arm.c: In function 'elf32_arm_nabi_write_core_note':
    .../elf32-arm.c:2177: error: #pragma GCC diagnostic not allowed inside functions
    .../elf32-arm.c:2186: error: #pragma GCC diagnostic not allowed inside functions
    See the comment in diagnostics.h.
    
    include/
    	* diagnostics.h: Comment on macro usage.
    bfd/
    	* elf32-arm.c (elf32_arm_nabi_write_core_note): Don't use
    	DIAGNOTIC_PUSH and DIAGNOSTIC_POP unconditionally.
    	* elf32-ppc.c (ppc_elf_write_core_note): Likewise.
    	* elf32-s390.c (elf_s390_write_core_note): Likewise.
    	* elf64-ppc.c (ppc64_elf_write_core_note): Likewise.
    	* elf64-s390.c (elf_s390_write_core_note): Likewise.
    	* elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Likewise.
    
    (cherry picked from commit fe75810f8e0cc33384f22d0479506711d4014c60)
    e55992d4
Name
Last commit
Last update
bfd Loading commit data...
binutils Loading commit data...
config Loading commit data...
cpu Loading commit data...
elfcpp Loading commit data...
etc Loading commit data...
gas Loading commit data...
gdb Loading commit data...
gold Loading commit data...
gprof Loading commit data...
include Loading commit data...
intl Loading commit data...
ld Loading commit data...
libdecnumber Loading commit data...
libiberty Loading commit data...
opcodes Loading commit data...
readline Loading commit data...
sim Loading commit data...
texinfo Loading commit data...
zlib Loading commit data...
.cvsignore Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
COPYING.LIBGLOSS Loading commit data...
COPYING.NEWLIB Loading commit data...
COPYING3 Loading commit data...
COPYING3.LIB Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.def Loading commit data...
Makefile.in Loading commit data...
Makefile.tpl Loading commit data...
README Loading commit data...
README-maintainer-mode Loading commit data...
ar-lib Loading commit data...
compile Loading commit data...
config-ml.in Loading commit data...
config.guess Loading commit data...
config.rpath Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
depcomp Loading commit data...
djunpack.bat Loading commit data...
install-sh Loading commit data...
libtool.m4 Loading commit data...
ltgcc.m4 Loading commit data...
ltmain.sh Loading commit data...
ltoptions.m4 Loading commit data...
ltsugar.m4 Loading commit data...
ltversion.m4 Loading commit data...
lt~obsolete.m4 Loading commit data...
makefile.vms Loading commit data...
missing Loading commit data...
mkdep Loading commit data...
mkinstalldirs Loading commit data...
move-if-change Loading commit data...
setup.com Loading commit data...
src-release.sh Loading commit data...
symlink-tree Loading commit data...
test-driver Loading commit data...
ylwrap Loading commit data...