Go to file
Simon Marchi 0c80c64464 bfd/elf64-ppc.c: fix clang -Wbitwise-instead-of-logical warning in ppc64_elf_check_init_fini
I see this error with clang-14:

      CC       elf64-ppc.lo
    /home/smarchi/src/binutils-gdb/bfd/elf64-ppc.c:13131:11: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
      return (check_pasted_section (info, ".init")
             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fix by replacing & with &&.  But given that the check_pasted_section
function has side-effects and we want to make sure both calls are made,
assign to temporary variables before evaluating the `&&`.

Change-Id: I849e1b2401bea5f4d8ef3ab9af99ba9e3ef42490
2022-01-17 23:14:57 -05:00
bfd bfd/elf64-ppc.c: fix clang -Wbitwise-instead-of-logical warning in ppc64_elf_check_init_fini 2022-01-17 23:14:57 -05:00
binutils PR28029, debuginfod tests 2022-01-18 11:19:14 +10:30
config
contrib
cpu
elfcpp
etc
gas Update the config.guess and config.sub files from the master repository and regenerate files. 2022-01-17 16:21:22 +00:00
gdb gdb/infrun: rename variable and move to more specific scope 2022-01-17 05:51:41 -05:00
gdbserver gdb: don't use -Wmissing-prototypes with g++ 2022-01-13 10:25:45 +00:00
gdbsupport gdb: don't use -Wmissing-prototypes with g++ 2022-01-13 10:25:45 +00:00
gnulib
gold
gprof
include PR28751 mbind2a / mbind2b regressions on powerpc*-linux 2022-01-14 22:02:23 +10:30
intl
ld lang_size_relro_segment tidy 2022-01-18 11:18:51 +10:30
libbacktrace
libctf
libdecnumber
libiberty Reapply libiberty: Pass --plugin to AR and RANLIB 2022-01-13 05:48:47 -08:00
opcodes Update the config.guess and config.sub files from the master repository and regenerate files. 2022-01-17 16:21:22 +00:00
readline
sim
texinfo
zlib Update the config.guess and config.sub files from the master repository and regenerate files. 2022-01-17 16:21:22 +00:00
.cvsignore
.gitattributes
.gitignore
ar-lib
ChangeLog Update the config.guess and config.sub files from the master repository and regenerate files. 2022-01-17 16:21:22 +00:00
compile
config-ml.in
config.guess Update the config.guess and config.sub files from the master repository and regenerate files. 2022-01-17 16:21:22 +00:00
config.rpath
config.sub Update the config.guess and config.sub files from the master repository and regenerate files. 2022-01-17 16:21:22 +00:00
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.LIBGLOSS
COPYING.NEWLIB
depcomp
djunpack.bat
install-sh
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
makefile.vms
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
README
README-maintainer-mode
setup.com
src-release.sh
symlink-tree
test-driver
ylwrap

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.