From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80749 invoked by alias); 9 Apr 2015 19:11:16 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 80737 invoked by uid 89); 9 Apr 2015 19:11:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: bastet.se.axis.com Received: from bastet.se.axis.com (HELO bastet.se.axis.com) (195.60.68.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Apr 2015 19:11:14 +0000 Received: from localhost (localhost [127.0.0.1]) by bastet.se.axis.com (Postfix) with ESMTP id 598A418124; Thu, 9 Apr 2015 21:11:12 +0200 (CEST) Received: from bastet.se.axis.com ([IPv6:::ffff:127.0.0.1]) by localhost (bastet.se.axis.com [::ffff:127.0.0.1]) (amavisd-new, port 10024) with LMTP id eoWbJUBXOpKr; Thu, 9 Apr 2015 21:11:11 +0200 (CEST) Received: from boulder.se.axis.com (boulder.se.axis.com [10.0.2.104]) by bastet.se.axis.com (Postfix) with ESMTP id 8DDBD18123; Thu, 9 Apr 2015 21:11:11 +0200 (CEST) Received: from boulder.se.axis.com (localhost [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id 4C7E7C4A; Thu, 9 Apr 2015 21:11:11 +0200 (CEST) Received: from thoth.se.axis.com (thoth.se.axis.com [10.0.2.173]) by boulder.se.axis.com (Postfix) with ESMTP id 411E0B47; Thu, 9 Apr 2015 21:11:11 +0200 (CEST) Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.88.21.50]) by thoth.se.axis.com (Postfix) with ESMTP id 3E18634005; Thu, 9 Apr 2015 21:11:11 +0200 (CEST) Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id t39JBBBc011372; Thu, 9 Apr 2015 21:11:11 +0200 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id t39JBAnK011368; Thu, 9 Apr 2015 21:11:10 +0200 Date: Thu, 09 Apr 2015 19:11:00 -0000 Message-Id: <201504091911.t39JBAnK011368@ignucius.se.axis.com> From: Hans-Peter Nilsson To: nickc@redhat.com CC: binutils@sourceware.org In-reply-to: <87twwpfrqn.fsf@redhat.com> (message from Nick Clifton on Thu, 9 Apr 2015 13:47:28 +0200) Subject: Re: Commit: RX: Add support for detecting string insn use MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-SW-Source: 2015-04/txt/msg00175.txt.bz2 > From: Nick Clifton > Date: Thu, 9 Apr 2015 13:47:28 +0200 > gas/ChangeLog > 2015-04-09 Nick Clifton > > * config/tc-rx.c (enum options): Add OPTION_DISALLOW_STRING_INSNS. > (md_longopts): Add -mno-allow-string-insns. > (md_parse_option): Handle -mno-allow-string-insns. > (md_show_usage): Mention -mno-allow-string-insns. > (rx_note_string_insn_use): New function. Produces an error > message if a string insn is used when it is not allowed. > * config/rx-parse.y (SCMPU): Call rx_note_string_insn_use. > (SMOVU, SMOVB, SMOVF, SUNTIL, SWHILE, RMPA): Likewise. > * config/rx-defs.h (rx_note_string_insn_use): Prototype. > * doc/c-rx.texi: Document -mno-allow-string-insns. $ ./src-release.sh -b binutils ... /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:119: @code expected braces. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:119: Misplaced {. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:119: Misplaced }. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:120: @code expected braces. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:120: Misplaced {. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:120: Misplaced }. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:120: @code expected braces. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:120: Misplaced {. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:120: Misplaced }. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:120: @code missing close brace. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:120: @code missing close brace. /tmp/hpautotest-binutils/bsrc/src/gas/doc//c-rx.texi:119: @code missing close brace. makeinfo: Removing output file `as.info' due to errors; use --force to preserve. make[1]: *** [as.info] Error 1 make[1]: Leaving directory `/tmp/hpautotest-binutils/bsrc/src/gas/doc' make: *** [info-recursive] Error 1 $ makeinfo --version makeinfo (GNU texinfo) 4.13 ... I checked in the following as an obvious fix. gas: * doc/c-rx.texi: Fix markup typos in last change. diff --git a/gas/doc/c-rx.texi b/gas/doc/c-rx.texi index abf15cd..3fe2dd6 100644 --- a/gas/doc/c-rx.texi +++ b/gas/doc/c-rx.texi @@ -116,8 +116,8 @@ indicated cpu type will result in an error message being generated. @item -mno-allow-string-insns This option tells the assembler to mark the object file that it is building as one that does not use the string instructions -@code{SMOVF}, @code{SCMPU}, @code {SMOVB}, @code{SMOVU}, @code{SUNTIL} -@code {SWHILE} or the @code {RMPA} instruction. In addition the mark +@code{SMOVF}, @code{SCMPU}, @code{SMOVB}, @code{SMOVU}, @code{SUNTIL} +@code{SWHILE} or the @code{RMPA} instruction. In addition the mark tells the linker to complain if an attempt is made to link the binary with another one that does use any of these instructions. brgds, H-P