From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30346 invoked by alias); 21 Aug 2018 14:38:46 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 30327 invoked by uid 89); 21 Aug 2018 14:38:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:p12-v6s, Hx-spam-relays-external:209.85.210.195, H*RU:209.85.210.195, HX-HELO:sk:mail-pf X-HELO: mail-pf1-f195.google.com Received: from mail-pf1-f195.google.com (HELO mail-pf1-f195.google.com) (209.85.210.195) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 Aug 2018 14:38:43 +0000 Received: by mail-pf1-f195.google.com with SMTP id p12-v6so8612084pfh.2; Tue, 21 Aug 2018 07:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=KxlBQ7qapTFgVhfg29ocPME2b8TaEU3rdK6yGnlQPWI=; b=FHHwA3177ezGZLkzoAZY7G7JZS4x6by0xW/4ZOPKYzBMwP7j4gowZU/pOFpAPlvrO8 pFGZ+UXXHhhaUNXTdoKTUpxfKekj4J2qOzGxBv635S8zW/zbU2T9SgAzR0ozcfCDlCgk JNgykR3gr1kz5pO5sXft49GZJODQbWh/fijs0Yzya8MIx1WOG3KV5/AuCt1bMfgmDeLm SIIAiU+wAJdDWayx4g+8as2jH/OS0666lWgc47gCl5F+e9u0mG70Cc4FC/BOItId/nvX vbKTj64CEfrlu4YdafBAz220QBebW8dYjSUmzZflR+F5VzXbBs7u/8NY0zhUtLPd+OJ0 dJog== Return-Path: Received: from localhost (g13.61-115-50.ppp.wakwak.ne.jp. [61.115.50.13]) by smtp.gmail.com with ESMTPSA id h24-v6sm21646393pgj.10.2018.08.21.07.38.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Aug 2018 07:38:41 -0700 (PDT) From: Stafford Horne To: binutils@sourceware.org Cc: GDB patches , Richard Henderson , Openrisc , Stafford Horne Subject: [PATCH 0/4] OpenRISC binutils updates and new relocs Date: Tue, 21 Aug 2018 14:38:00 -0000 Message-Id: <20180821143823.16985-1-shorne@gmail.com> X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00483.txt.bz2 Hello, 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 (2): or1k: Fix messages for relocations in shared libraries or1k: Add the l.adrp insn and supporting relocations bfd/bfd-in2.h | 19 +- bfd/elf32-or1k.c | 1002 +++++++++++++---- bfd/libbfd.h | 19 +- bfd/reloc.c | 34 +- cpu/or1k.opc | 582 +++++----- cpu/or1korbis.cpu | 300 +++-- gas/config/tc-or1k.c | 6 + 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 | 587 +++++----- 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 +- 41 files changed, 3643 insertions(+), 1196 deletions(-) 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