[PATCH 0/2] Support AArch64

Petr Machata pmachata at redhat.com
Wed Nov 13 23:46:53 UTC 2013


Hi there,

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/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/eblopenbackend.c             |    3 +-
 src/ChangeLog                       |    5 +
 src/elflint.c                       |    4 +-
 src/readelf.c                       |    3 +
 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
 15 files changed, 1168 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


More information about the elfutils-devel mailing list