Remove -z combreloc and HAVE_Z_COMBRELOC
authorFangrui Song <maskray@google.com>
Tue, 5 Apr 2022 00:19:07 +0000 (17:19 -0700)
committerFangrui Song <maskray@google.com>
Tue, 5 Apr 2022 00:19:07 +0000 (17:19 -0700)
commit3ee318c9233ce77dee099f2830e8e29a0c572ca7
tree06a550c27bc52f0edab75f7f900ef32112a7eae2
parent1c225a2dd16f20d7fb04157b4ac8a3f284bd686a
Remove -z combreloc and HAVE_Z_COMBRELOC

-z combreloc has been the default regadless of the architecture since
binutils commit f4d733664aabd7bd78c82895e030ec9779a92809 (2002). The
configure check added in commit fdde83499a05 (2001) has long been
unneeded.

We can therefore treat HAVE_Z_COMBRELOC as always 1 and delete dead code
paths in dl-machine.h files (many were copied from commit a711b01d34ca
and ee0cb67ec238).

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
16 files changed:
Makeconfig
config.h.in
config.make.in
configure
configure.ac
sysdeps/alpha/dl-machine.h
sysdeps/arm/dl-machine.h
sysdeps/hppa/dl-machine.h
sysdeps/i386/dl-machine.h
sysdeps/ia64/dl-machine.h
sysdeps/riscv/dl-machine.h
sysdeps/s390/s390-32/dl-machine.h
sysdeps/s390/s390-64/dl-machine.h
sysdeps/sparc/sparc32/dl-machine.h
sysdeps/sparc/sparc64/dl-machine.h
sysdeps/x86_64/dl-machine.h