All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stafford Horne <shorne@gmail.com>
To: openrisc@lists.librecores.org
Subject: [OpenRISC] [PATCH v3 0/5] OpenRISC binutils updates and new relocs
Date: Thu,  4 Oct 2018 12:23:12 +0900	[thread overview]
Message-ID: <20181004032317.17478-1-shorne@gmail.com> (raw)

Hello,

Changes since v2:
  - Fixed issue with reloc overflow detection (ld-scripts/pr22267)

Changes since v1:
  - Added documentation for GAS
  - Fixed format issues with enum '{' and 'function_(' space
  - Added messages before 'abort()'

This series contains a lot of updates for OpenRISC binutils.  Including:
  - Definitions for missing instructions.
  - New relocations used in the new GCC OpenRISC port
  - A new instruction l.adrp

The patches were for the most part written by Richard Henderson, I have fixed a
few bugs, added additional tests and wrote the ChangeLogs.

These patches have been tested and used in the new OpenRISC GCC clean-room
rewrite done by Richard and Me.

  http://stffrdhrn.github.io/software/embedded/openrisc/2018/02/03/openrisc_gcc_rewrite.html

-Stafford

Richard Henderson (2):
  or1k: Add relocations for high-signed and low-stores
  or1k: Add the l.muld, l.muldu, l.macu, l.msbu insns

Stafford Horne (3):
  or1k: Fix messages for relocations in shared libraries
  or1k: Add the l.adrp insn and supporting relocations
  or1k: Add OpenRISC gas documentation

 bfd/bfd-in2.h                                 |  19 +-
 bfd/elf32-or1k.c                              | 977 ++++++++++++++----
 bfd/libbfd.h                                  |  19 +-
 bfd/reloc.c                                   |  34 +-
 cpu/or1k.opc                                  | 585 +++++------
 cpu/or1korbis.cpu                             | 300 ++++--
 gas/config/tc-or1k.c                          |   6 +
 gas/doc/Makefile.am                           |   1 +
 gas/doc/Makefile.in                           |   1 +
 gas/doc/all.texi                              |   1 +
 gas/doc/as.texi                               |  10 +
 gas/doc/c-or1k.texi                           | 300 ++++++
 gas/testsuite/gas/or1k/allinsn.d              |  50 +-
 gas/testsuite/gas/or1k/allinsn.s              |  25 +
 .../gas/or1k/{allinsn.exp => or1k.exp}        |   1 +
 gas/testsuite/gas/or1k/reloc-1.d              |  72 ++
 gas/testsuite/gas/or1k/reloc-1.s              |  76 ++
 gas/testsuite/gas/or1k/reloc-2.l              |  11 +
 gas/testsuite/gas/or1k/reloc-2.s              |  13 +
 include/elf/or1k.h                            |  19 +
 ld/testsuite/ld-or1k/offsets1.d               | 212 ++++
 ld/testsuite/ld-or1k/offsets1.s               |  14 +
 ld/testsuite/ld-or1k/or1k.exp                 |  91 ++
 ld/testsuite/ld-or1k/plt1.dd                  |  27 +
 ld/testsuite/ld-or1k/plt1.s                   |  11 +
 ld/testsuite/ld-or1k/plt1.x.dd                |  27 +
 ld/testsuite/ld-or1k/plta1.dd                 |  27 +
 ld/testsuite/ld-or1k/plta1.s                  |  11 +
 ld/testsuite/ld-or1k/pltlib.s                 |  12 +
 opcodes/or1k-asm.c                            | 590 +++++------
 opcodes/or1k-desc.c                           |  34 +-
 opcodes/or1k-desc.h                           |  48 +-
 opcodes/or1k-dis.c                            |   3 +
 opcodes/or1k-ibld.c                           |  29 +-
 opcodes/or1k-opc.c                            |  44 +-
 opcodes/or1k-opc.h                            |  65 +-
 opcodes/or1k-opinst.c                         |  98 +-
 sim/common/cgen-ops.h                         |  36 +
 sim/or1k/cpu.h                                |  32 +
 sim/or1k/decode.c                             | 239 ++++-
 sim/or1k/decode.h                             |  82 +-
 sim/or1k/model.c                              | 186 +++-
 sim/or1k/sem-switch.c                         | 281 ++++-
 sim/or1k/sem.c                                | 293 +++++-
 sim/testsuite/sim/or1k/div.S                  |  12 +-
 sim/testsuite/sim/or1k/mul.S                  | 109 +-
 46 files changed, 3937 insertions(+), 1196 deletions(-)
 create mode 100644 gas/doc/c-or1k.texi
 rename gas/testsuite/gas/or1k/{allinsn.exp => or1k.exp} (83%)
 create mode 100644 gas/testsuite/gas/or1k/reloc-1.d
 create mode 100644 gas/testsuite/gas/or1k/reloc-1.s
 create mode 100644 gas/testsuite/gas/or1k/reloc-2.l
 create mode 100644 gas/testsuite/gas/or1k/reloc-2.s
 create mode 100644 ld/testsuite/ld-or1k/offsets1.d
 create mode 100644 ld/testsuite/ld-or1k/offsets1.s
 create mode 100644 ld/testsuite/ld-or1k/or1k.exp
 create mode 100644 ld/testsuite/ld-or1k/plt1.dd
 create mode 100644 ld/testsuite/ld-or1k/plt1.s
 create mode 100644 ld/testsuite/ld-or1k/plt1.x.dd
 create mode 100644 ld/testsuite/ld-or1k/plta1.dd
 create mode 100644 ld/testsuite/ld-or1k/plta1.s
 create mode 100644 ld/testsuite/ld-or1k/pltlib.s

-- 
2.17.1


             reply	other threads:[~2018-10-04  3:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-04  3:23 Stafford Horne [this message]
2018-10-04  3:23 ` [OpenRISC] [PATCH v3 1/5] or1k: Add relocations for high-signed and low-stores Stafford Horne
2018-10-04 15:31   ` Nick Clifton
2018-10-04  3:23 ` [OpenRISC] [PATCH v3 2/5] or1k: Fix messages for relocations in shared libraries Stafford Horne
2018-10-04 15:32   ` Nick Clifton
2018-10-04  3:23 ` [OpenRISC] [PATCH v3 3/5] or1k: Add the l.adrp insn and supporting relocations Stafford Horne
2018-10-04 15:33   ` Nick Clifton
2018-10-04  3:23 ` [OpenRISC] [PATCH v3 4/5] or1k: Add the l.muld, l.muldu, l.macu, l.msbu insns Stafford Horne
2018-10-04 15:34   ` Nick Clifton
2018-10-04  3:23 ` [OpenRISC] [PATCH v3 5/5] or1k: Add OpenRISC gas documentation Stafford Horne
2018-10-04 15:30 ` [OpenRISC] [PATCH v3 0/5] OpenRISC binutils updates and new relocs Nick Clifton
2018-10-05  2:18   ` Stafford Horne

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=20181004032317.17478-1-shorne@gmail.com \
    --to=shorne@gmail.com \
    --cc=openrisc@lists.librecores.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.