mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-08 23:57:38 +00:00
When analyzing an AARCH64 linux kernel module built with support for either R_AARCH64_ABS64 or R_AARCH64_PREL32 relocations, we need these macros to be defined in elf.h (i.e a recent enough version of libelf), otherwise we cannot properly support those kernel modules using the scheme that uses the relocation table of the __ksymtab and __ksymtab_gpl sections to read those sections. In the future, I think we should automatically fallback to another way of trying to read those sections if those macros are not defined, and emit a message hinting at what is happening, when in verbose mode. I am keeping it as is for the moment, so that we can get a better case of the when these macros are not defined and whatnot. In the mean time, this patch conditionalizes the test that reads a kernel module build with support for these relocations to avoid running it on platform that support these relocations. * tests/test-read-dwarf.cc: Do not run the test on PR25007-sdhci.ko if the macros R_AARCH64_PREL32 and R_AARCH64_ABS64 are not defined. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
data | ||
.gitignore | ||
Makefile.am | ||
mockfedabipkgdiff.in | ||
print-diff-tree.cc | ||
runtestcanonicalizetypes.sh.in | ||
runtestdefaultsupprs.py.in | ||
runtestdefaultsupprspy3.sh.in | ||
runtestfedabipkgdiff.py.in | ||
runtestfedabipkgdiffpy3.sh.in | ||
test-abicompat.cc | ||
test-abidiff-exit.cc | ||
test-abidiff.cc | ||
test-alt-dwarf-file.cc | ||
test-annotate.cc | ||
test-core-diff.cc | ||
test-diff2.cc | ||
test-diff-dwarf-abixml.cc | ||
test-diff-dwarf.cc | ||
test-diff-filter.cc | ||
test-diff-pkg.cc | ||
test-diff-suppr.cc | ||
test-dot.cc | ||
test-ini.cc | ||
test-ir-walker.cc | ||
test-lookup-syms.cc | ||
test-read-dwarf.cc | ||
test-read-write.cc | ||
test-svg.cc | ||
test-tools-utils.cc | ||
test-types-stability.cc | ||
test-utils.cc | ||
test-utils.h | ||
test-valgrind-suppressions.supp | ||
test-write-read-archive.cc | ||
update-test-output.py |