This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[PATCH 0/2][V2] Support AArch64
- From: Petr Machata <pmachata at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 14 Nov 2013 01:04:46 +0100
- Subject: [PATCH 0/2][V2] Support AArch64
Hi there,
The initial sumbission lacked change logs and wasn't rebased to current
master. Here's a quick resubmission for you convenience.
The first patch has been reviewed back in October and adds a possibility
to hide certain core note fields.
The second patch is the meat of the AArch64 backend support. This
passes all tests on x86_64, and almost all tests in AArch64 simulator.
The single failing test is run-elflint-self.sh:
section [36] '.symtab': _GLOBAL_OFFSET_TABLE_ symbol value 0x22fb8 does not match .got.plt section address 0x22fe8
*** failure in /root/elfutils/build/src/elflint --quiet --gnu-ld /root/elfutils/build/libelf/libelf.so
[... more of the same ...]
I tracked this down to a problem in binutils, which has actually been
fixed already (the upcoming binutils release should contain this fix):
http://cygwin.com/ml/binutils/2013-07/msg00013.html
So the failure should disappear eventually with binutils rebase.
Please review.
Thanks,
PM
Petr Machata (2):
Support new 'h' core note item format for hidden fields
Support AArch64 architecture
backends/ChangeLog | 12 +
backends/Makefile.am | 17 +-
backends/aarch64_corenote.c | 162 ++++++++++++++
backends/aarch64_init.c | 61 ++++++
backends/aarch64_regs.c | 101 +++++++++
backends/aarch64_reloc.def | 157 ++++++++++++++
backends/aarch64_retval.c | 394 +++++++++++++++++++++++++++++++++++
backends/aarch64_symbol.c | 56 +++++
libebl/ChangeLog | 4 +
libebl/eblopenbackend.c | 3 +-
src/ChangeLog | 9 +
src/elflint.c | 4 +-
src/readelf.c | 3 +
tests/ChangeLog | 7 +
tests/Makefile.am | 3 +-
tests/run-allregs.sh | 72 +++++++-
tests/run-readelf-mixed-corenote.sh | 140 +++++++++++++
tests/testfile_aarch64_core.bz2 | Bin 0 -> 61748 bytes
18 files changed, 1195 insertions(+), 10 deletions(-)
create mode 100644 backends/aarch64_corenote.c
create mode 100644 backends/aarch64_init.c
create mode 100644 backends/aarch64_regs.c
create mode 100644 backends/aarch64_reloc.def
create mode 100644 backends/aarch64_retval.c
create mode 100644 backends/aarch64_symbol.c
create mode 100644 tests/testfile_aarch64_core.bz2
--
1.7.6.5