[PATCH 00/14] Removal of or32/openrisc and introduction of or1k

Christian Svensson blue@cmd.nu
Mon Mar 10 12:03:00 GMT 2014


This patch series consist of two parts:
 * or32/openrisc deprecation
 * or1k and or1knd (or1k without delay slot) support

The target name of the OpenRISC 1000 architecture has traditionally been
or32 or openrisc. A while ago this was changed to or1k to allow for other
implementations of the OpenRISC architecture, such as or1knd.

This port supports features such as dynamic linking and TLS, which the old
or32 port does not.

The people involved in creating this patch set are:
  Julius Baxter <juliusbaxter@gmail.com>
  Jeremy Bennett <jeremy.bennett@embecosm.com>
  Raul Fajardo <rfajardo@gmail.com>
  Peter Gavin <pgavin@gmail.com>
  Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
  Joern Rennecke <joern.rennecke@embecosm.com>
  Christian Svensson <blue@cmd.nu>

All persons above have made sure they are good to commit code to FSF, either by
emailing assign@gnu.org or by working for a company with an FSF agreement.

For maintainers I would like to nominate myself, Christian Svensson and
Stefan Kristiansson.

Regards,
Christian Svensson

Christian Svensson (14):
  or32 and openrisc opcode changes
  or32 and openrisc bfd changes
  or32 and openrisc ld changes
  or32 and openrisc gas changes
  or32 and openrisc include/elfcpp changes
  or32 and openrisc binutils changes
  or32 and openrisc cgen changes
  or1k bfd changes
  or1k opcodes changes
  or1k ld changes
  or1k gas changes
  or1k include changes
  or1k binutils changes
  or1k cgen changes

 bfd/Makefile.am                                    |   14 +-
 bfd/Makefile.in                                    |   21 +-
 bfd/archures.c                                     |   11 +-
 bfd/bfd-in2.h                                      |   33 +-
 bfd/coff-or32.c                                    |  628 -----
 bfd/coffcode.h                                     |   20 -
 bfd/config.bfd                                     |   17 +-
 bfd/configure                                      |    4 +-
 bfd/configure.in                                   |    9 +-
 bfd/cpu-openrisc.c                                 |   44 -
 bfd/cpu-or1k.c                                     |   61 +
 bfd/cpu-or32.c                                     |   42 -
 bfd/elf-bfd.h                                      |    1 +
 bfd/elf32-openrisc.c                               |  569 ----
 bfd/elf32-or1k.c                                   | 2884 ++++++++++++++++++++
 bfd/elf32-or32.c                                   |  514 ----
 bfd/libbfd.h                                       |   26 +-
 bfd/reloc.c                                        |   50 +-
 bfd/targets.c                                      |    9 +-
 binutils/readelf.c                                 |   28 +-
 .../testsuite/binutils-all/dw2-decodedline-1.S     |   16 +
 binutils/testsuite/binutils-all/objcopy.exp        |    1 -
 binutils/testsuite/binutils-all/objdump.exp        |   15 +-
 cpu/openrisc.cpu                                   |  774 ------
 cpu/openrisc.opc                                   |  164 --
 cpu/or1k.cpu                                       |  131 +
 cpu/or1k.opc                                       |  423 +++
 cpu/or1kcommon.cpu                                 |  360 +++
 cpu/or1korbis.cpu                                  | 1080 ++++++++
 cpu/or1korfpx.cpu                                  |  222 ++
 elfcpp/elfcpp.h                                    |    4 +-
 gas/Makefile.am                                    |    6 +-
 gas/Makefile.in                                    |   43 +-
 gas/config/obj-coff.h                              |    5 -
 gas/config/tc-openrisc.c                           |  362 ---
 gas/config/tc-openrisc.h                           |   61 -
 gas/config/tc-or1k.c                               |  364 +++
 gas/config/tc-or1k.h                               |   80 +
 gas/config/tc-or32.c                               |  966 -------
 gas/config/tc-or32.h                               |   56 -
 gas/configure                                      |    4 +-
 gas/configure.in                                   |    4 +-
 gas/configure.tgt                                  |   10 +-
 gas/doc/as.texinfo                                 |    2 +-
 gas/testsuite/gas/all/gas.exp                      |    2 +-
 gas/testsuite/gas/elf/warn-2.s                     |    4 +-
 gas/testsuite/gas/lns/lns-common-1-or1k.s          |   25 +
 gas/testsuite/gas/lns/lns.exp                      |    3 +-
 gas/testsuite/gas/openrisc/addi.d                  |   10 -
 gas/testsuite/gas/openrisc/addi.s                  |    4 -
 gas/testsuite/gas/openrisc/allinsn.d               |  201 --
 gas/testsuite/gas/openrisc/allinsn.exp             |   24 -
 gas/testsuite/gas/openrisc/allinsn.s               |  260 --
 gas/testsuite/gas/openrisc/lohi.d                  |   13 -
 gas/testsuite/gas/openrisc/lohi.s                  |    7 -
 gas/testsuite/gas/openrisc/store.d                 |   13 -
 gas/testsuite/gas/openrisc/store.s                 |    7 -
 gas/testsuite/gas/or1k/allinsn.d                   |  689 +++++
 gas/testsuite/gas/or1k/allinsn.exp                 |    5 +
 gas/testsuite/gas/or1k/allinsn.s                   |  677 +++++
 include/coff/or32.h                                |  288 --
 include/dis-asm.h                                  |    4 +-
 include/elf/common.h                               |   11 +-
 include/elf/openrisc.h                             |   39 -
 include/elf/or1k.h                                 |   65 +
 include/elf/or32.h                                 |   56 -
 include/opcode/or32.h                              |  181 --
 ld/Makefile.am                                     |   20 +-
 ld/Makefile.in                                     |   25 +-
 ld/configure.tgt                                   |    7 +-
 ld/emulparams/elf32openrisc.sh                     |   11 -
 ld/emulparams/elf32or1k.sh                         |   14 +
 ld/emulparams/elf32or1k_linux.sh                   |    5 +
 ld/emulparams/or32.sh                              |    5 -
 ld/emulparams/or32elf.sh                           |    9 -
 ld/scripttempl/or32.sc                             |   37 -
 ld/testsuite/ld-discard/extern.d                   |    2 +-
 ld/testsuite/ld-discard/start.d                    |    2 +-
 ld/testsuite/ld-discard/static.d                   |    2 +-
 ld/testsuite/ld-elf/group1.d                       |    2 +-
 ld/testsuite/ld-elf/group3b.d                      |    2 +-
 ld/testsuite/ld-elf/group8a.d                      |    2 +-
 ld/testsuite/ld-elf/group8b.d                      |    2 +-
 ld/testsuite/ld-elf/group9a.d                      |    2 +-
 ld/testsuite/ld-elf/group9b.d                      |    2 +-
 ld/testsuite/ld-elf/linkonce2.d                    |    2 +-
 ld/testsuite/ld-elf/merge.d                        |    2 +-
 ld/testsuite/ld-elf/merge2.d                       |    2 +-
 ld/testsuite/ld-elf/orphan-region.d                |    2 +-
 ld/testsuite/ld-elf/orphan.d                       |    2 +-
 ld/testsuite/ld-elf/orphan3.d                      |    2 +-
 ld/testsuite/ld-elf/pr12851.d                      |    2 +-
 ld/testsuite/ld-elf/pr12975.d                      |    2 +-
 ld/testsuite/ld-elf/pr13177.d                      |    2 +-
 ld/testsuite/ld-elf/pr13195.d                      |    2 +-
 ld/testsuite/ld-elf/pr349.d                        |    2 +-
 ld/testsuite/ld-elf/sec64k.exp                     |    2 +-
 ld/testsuite/ld-elf/warn1.d                        |    2 +-
 ld/testsuite/ld-elf/warn2.d                        |    2 +-
 ld/testsuite/ld-elf/warn3.d                        |    2 +-
 ld/testsuite/ld-scripts/weak.exp                   |    4 +-
 ld/testsuite/lib/ld-lib.exp                        |    4 +-
 opcodes/Makefile.am                                |   29 +-
 opcodes/Makefile.in                                |   41 +-
 opcodes/configure                                  |    3 +-
 opcodes/configure.in                               |    3 +-
 opcodes/disassemble.c                              |   17 +-
 opcodes/openrisc-asm.c                             |  648 -----
 opcodes/openrisc-desc.c                            | 1018 -------
 opcodes/openrisc-desc.h                            |  288 --
 opcodes/openrisc-dis.c                             |  555 ----
 opcodes/openrisc-ibld.c                            | 1008 -------
 opcodes/openrisc-opc.c                             |  682 -----
 opcodes/openrisc-opc.h                             |  113 -
 opcodes/or1k-asm.c                                 |  912 +++++++
 opcodes/or1k-desc.c                                | 2074 ++++++++++++++
 opcodes/or1k-desc.h                                |  682 +++++
 opcodes/or1k-dis.c                                 |  562 ++++
 opcodes/or1k-ibld.c                                | 1051 +++++++
 opcodes/or1k-opc.c                                 | 1043 +++++++
 opcodes/or1k-opc.h                                 |  133 +
 opcodes/or1k-opinst.c                              |  556 ++++
 opcodes/or32-dis.c                                 |  325 ---
 opcodes/or32-opc.c                                 | 1030 -------
 124 files changed, 14393 insertions(+), 11295 deletions(-)
 delete mode 100644 bfd/coff-or32.c
 delete mode 100644 bfd/cpu-openrisc.c
 create mode 100644 bfd/cpu-or1k.c
 delete mode 100644 bfd/cpu-or32.c
 delete mode 100644 bfd/elf32-openrisc.c
 create mode 100644 bfd/elf32-or1k.c
 delete mode 100644 bfd/elf32-or32.c
 create mode 100644 binutils/testsuite/binutils-all/dw2-decodedline-1.S
 delete mode 100644 cpu/openrisc.cpu
 delete mode 100644 cpu/openrisc.opc
 create mode 100644 cpu/or1k.cpu
 create mode 100644 cpu/or1k.opc
 create mode 100644 cpu/or1kcommon.cpu
 create mode 100644 cpu/or1korbis.cpu
 create mode 100644 cpu/or1korfpx.cpu
 delete mode 100644 gas/config/tc-openrisc.c
 delete mode 100644 gas/config/tc-openrisc.h
 create mode 100644 gas/config/tc-or1k.c
 create mode 100644 gas/config/tc-or1k.h
 delete mode 100644 gas/config/tc-or32.c
 delete mode 100644 gas/config/tc-or32.h
 create mode 100644 gas/testsuite/gas/lns/lns-common-1-or1k.s
 delete mode 100644 gas/testsuite/gas/openrisc/addi.d
 delete mode 100644 gas/testsuite/gas/openrisc/addi.s
 delete mode 100644 gas/testsuite/gas/openrisc/allinsn.d
 delete mode 100644 gas/testsuite/gas/openrisc/allinsn.exp
 delete mode 100644 gas/testsuite/gas/openrisc/allinsn.s
 delete mode 100644 gas/testsuite/gas/openrisc/lohi.d
 delete mode 100644 gas/testsuite/gas/openrisc/lohi.s
 delete mode 100644 gas/testsuite/gas/openrisc/store.d
 delete mode 100644 gas/testsuite/gas/openrisc/store.s
 create mode 100644 gas/testsuite/gas/or1k/allinsn.d
 create mode 100644 gas/testsuite/gas/or1k/allinsn.exp
 create mode 100644 gas/testsuite/gas/or1k/allinsn.s
 delete mode 100644 include/coff/or32.h
 delete mode 100644 include/elf/openrisc.h
 create mode 100644 include/elf/or1k.h
 delete mode 100644 include/elf/or32.h
 delete mode 100644 include/opcode/or32.h
 delete mode 100644 ld/emulparams/elf32openrisc.sh
 create mode 100644 ld/emulparams/elf32or1k.sh
 create mode 100644 ld/emulparams/elf32or1k_linux.sh
 delete mode 100644 ld/emulparams/or32.sh
 delete mode 100644 ld/emulparams/or32elf.sh
 delete mode 100644 ld/scripttempl/or32.sc
 delete mode 100644 opcodes/openrisc-asm.c
 delete mode 100644 opcodes/openrisc-desc.c
 delete mode 100644 opcodes/openrisc-desc.h
 delete mode 100644 opcodes/openrisc-dis.c
 delete mode 100644 opcodes/openrisc-ibld.c
 delete mode 100644 opcodes/openrisc-opc.c
 delete mode 100644 opcodes/openrisc-opc.h
 create mode 100644 opcodes/or1k-asm.c
 create mode 100644 opcodes/or1k-desc.c
 create mode 100644 opcodes/or1k-desc.h
 create mode 100644 opcodes/or1k-dis.c
 create mode 100644 opcodes/or1k-ibld.c
 create mode 100644 opcodes/or1k-opc.c
 create mode 100644 opcodes/or1k-opc.h
 create mode 100644 opcodes/or1k-opinst.c
 delete mode 100644 opcodes/or32-dis.c
 delete mode 100644 opcodes/or32-opc.c

-- 
1.7.10.4



More information about the Binutils mailing list