ce0d10da91
The patch: "e687032 Support pre and post v4.19 ksymtabs for Linux kernel modules" introduces the use of the R_AARCH64_{ABS64, PREL32} macros. However, some older "elf.h" don't define these. When compiling on these older platforms, we thus need to avoid using these new macros. With this patch, the configure system detects the presence of these macros and defines the HAVE_R_AARCH64_{ABS64, PREL32}_MACRO macros accordingly. Note that just to comply with what's in there in the code already, we don't directly do "#ifdef R_AARCH64_ABS64", but rather "#ifdef HAVE_R_AARCH64_ABS64_MACRO", to allow cases where we want to artificially disable the "feature" at configure time, in the future. * configure.ac: Define macros HAVE_R_AARCH64_{ABS64, PREL32}_MACRO if the macros R_AARCH64_{ABS64, PREL32} are present. * src/abg-dwarf-reader.cc (read_context::get_ksymtab_format_module): Conditionalize the use of R_AARCH64_{ABS64, PREL32} using HAVE_R_AARCH64_{ABS64, PREL32}_MACRO. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
autoconf-archive | ||
bash-completion | ||
doc | ||
include | ||
m4 | ||
scripts | ||
src | ||
tests | ||
tools | ||
.clang-format | ||
.gitignore | ||
AUTHORS | ||
COMMIT-LOG-GUIDELINES | ||
COMPILING | ||
CONTRIBUTING | ||
COPYING | ||
COPYING-GPLV3 | ||
COPYING-LGPLV2 | ||
COPYING-LGPLV3 | ||
ChangeLog | ||
Makefile.am | ||
NEWS | ||
README | ||
VISIBILITY | ||
abigail.m4 | ||
configure.ac | ||
default.abignore | ||
gen-changelog.py | ||
install-sh | ||
libabigail.pc.in | ||
ltmain.sh | ||
release-text-template.txt | ||
update-copyright.sh |
README
This is the Application Binary Interface Generic Analysis and Instrumentation Library. It aims at constructing, manipulating, serializing and de-serializing ABI-relevant artifacts. The set of artifacts that we are intersted is made of quantities like types, variable, fonctions and declarations of a given library or program. For a given library or program this set of quantities is called an ABI corpus. This library aims at (among other things) providing a way to compare two ABI Corpora (apparently the plural of corpus is copora, heh, that's cool), provide detailed information about their differences, and help build tools to infer interesting conclusions about these differences. You are welcome to contribute to this project after reading the files CONTRIBUTING and COMMIT-LOG-GUIDELINES files in the source tree. Communicating with the maintainers of this project -- including sending patches to be include to the source code -- happens via email at libabigail@sourceware.org.