From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 16 Dec 2016 03:52:14 +0100 (CET) Received: from localhost.localdomain ([127.0.0.1]:56940 "EHLO linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by eddie.linux-mips.org with ESMTP id S23992170AbcLPCwH2pHiY (ORCPT ); Fri, 16 Dec 2016 03:52:07 +0100 Received: from h7.dl5rb.org.uk (localhost [127.0.0.1]) by h7.dl5rb.org.uk (8.15.2/8.14.8) with ESMTP id uBG2q6C2031194; Fri, 16 Dec 2016 03:52:06 +0100 Received: (from ralf@localhost) by h7.dl5rb.org.uk (8.15.2/8.15.2/Submit) id uBG2q6cx031193; Fri, 16 Dec 2016 03:52:06 +0100 Date: Fri, 16 Dec 2016 03:52:06 +0100 From: Ralf Baechle To: "Maciej W. Rozycki" Cc: linux-mips@linux-mips.org Subject: Re: MIPS: IP22: Fix binutils due to binutils 2.25 uselessnes. Message-ID: <20161216025206.GE15191@linux-mips.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 56060 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Fri, Dec 16, 2016 at 02:22:16AM +0000, Maciej W. Rozycki wrote: > On Thu, 15 Dec 2016, linux-mips@linux-mips.org wrote: > > > Fix build with binutils 2.25 by open coding the offending > > > > dli $1, 0x9000000080000000 > > > > as > > > > li $1, 0x9000 > > dsll $1, $1, 48 > > > > which is ugly be the only thing that will build on all binutils vintages. > > What about bit #31? Shouldn't this be say: > > lui $1, 0x9000 > dsll $1, $1, 16 > ori $1, $1, 0x8000 > dsll $1, $1, 16 > > ? Argh, didn't spot the `8' in there. 64 bit constants are way too long :) Thanks for reporting, will fix. Ralf