public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
To: binutils@sourceware.org
Cc: nickc@redhat.com, macro@orcam.me.uk,
	dragan.mladjenovic@syrmia.com, lei.wang@oss.cipunited.com
Subject: [PATCH v6 0/3] Add support for nanoMIPS architecture
Date: Wed, 10 May 2023 16:18:26 +0200	[thread overview]
Message-ID: <20230510141829.2748105-1-aleksandar.rikalo@syrmia.com> (raw)

This series introduces a subset of nanoMIPS functionalities. It's a pre-requirement for nanoMIPS support for GDB/SIM.

Almost complete series is a "green patch" - it adds things, so the probability of making regressions of existing functionalities is minimal.

Compared to the previous series version (v5), there are no functional impacts but changes are split into smaller parts.
Patches can be safely merged one at a time while respecting the existing order.

Aleksandar Rikalo (3):
  BFD changes for nanoMIPS support
  Opcodes changes for nanoMIPS support
  Readelf for nanoMIPS

 bfd/Makefile.am            |   19 +
 bfd/Makefile.in            |   22 +
 bfd/archures.c             |    5 +
 bfd/bfd-in2.h              |   74 ++
 bfd/config.bfd             |    6 +
 bfd/configure              |    4 +
 bfd/configure.ac           |    4 +
 bfd/cpu-nanomips.c         |   61 ++
 bfd/elf-bfd.h              |    1 +
 bfd/elfnn-nanomips.c       | 1423 ++++++++++++++++++++++++++++++++++
 bfd/elfxx-mips.h           |    5 +
 bfd/elfxx-nanomips.c       |  794 +++++++++++++++++++
 bfd/elfxx-nanomips.h       |   54 ++
 bfd/libbfd.h               |   69 ++
 bfd/reloc.c                |  140 ++++
 bfd/targets.c              |   11 +
 binutils/readelf.c         |  502 +++++++++++-
 include/dis-asm.h          |   11 +
 include/elf/common.h       |    2 +-
 include/elf/nanomips.h     |  262 +++++++
 include/opcode/nanomips.h  | 1453 +++++++++++++++++++++++++++++++++++
 opcodes/Makefile.am        |    2 +
 opcodes/Makefile.in        |   10 +
 opcodes/configure          |    1 +
 opcodes/configure.ac       |    1 +
 opcodes/dis-buf.c          |    9 +
 opcodes/dis-init.c         |    1 +
 opcodes/disassemble.c      |   13 +
 opcodes/nanomips-dis.c     | 1466 ++++++++++++++++++++++++++++++++++++
 opcodes/nanomips-formats.h |  265 +++++++
 opcodes/nanomips-opc.c     | 1073 ++++++++++++++++++++++++++
 31 files changed, 7761 insertions(+), 2 deletions(-)
 create mode 100644 bfd/cpu-nanomips.c
 create mode 100644 bfd/elfnn-nanomips.c
 create mode 100644 bfd/elfxx-nanomips.c
 create mode 100644 bfd/elfxx-nanomips.h
 create mode 100644 include/elf/nanomips.h
 create mode 100644 include/opcode/nanomips.h
 create mode 100644 opcodes/nanomips-dis.c
 create mode 100644 opcodes/nanomips-formats.h
 create mode 100644 opcodes/nanomips-opc.c

-- 
2.25.1


             reply	other threads:[~2023-05-10 14:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10 14:18 Aleksandar Rikalo [this message]
2023-05-10 14:18 ` [PATCH v6 1/3] BFD changes for nanoMIPS support Aleksandar Rikalo
2023-05-11  0:42   ` Hans-Peter Nilsson
2023-05-12 17:01     ` Aleksandar Rikalo
2023-05-19 22:25       ` Maciej W. Rozycki
2023-05-10 14:18 ` [PATCH v6 2/3] Opcodes " Aleksandar Rikalo
2023-05-10 14:18 ` [PATCH v6 3/3] Readelf for nanoMIPS Aleksandar Rikalo
2023-05-18 10:34 ` [PATCH v6 0/3] Add support for nanoMIPS architecture Tsing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230510141829.2748105-1-aleksandar.rikalo@syrmia.com \
    --to=aleksandar.rikalo@syrmia.com \
    --cc=binutils@sourceware.org \
    --cc=dragan.mladjenovic@syrmia.com \
    --cc=lei.wang@oss.cipunited.com \
    --cc=macro@orcam.me.uk \
    --cc=nickc@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).