From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13898 invoked by alias); 9 Sep 2010 21:25:58 -0000 Received: (qmail 13870 invoked by uid 22791); 9 Sep 2010 21:25:57 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-iw0-f175.google.com (HELO mail-iw0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Sep 2010 21:25:53 +0000 Received: by iwn2 with SMTP id 2so1526903iwn.20 for ; Thu, 09 Sep 2010 14:25:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.130.99 with SMTP id r35mr11433981ibs.171.1284067549938; Thu, 09 Sep 2010 14:25:49 -0700 (PDT) Received: by 10.231.34.77 with HTTP; Thu, 9 Sep 2010 14:25:49 -0700 (PDT) In-Reply-To: <6237C02F-878D-4BAA-917A-3E436A361B5E@apple.com> References: <20100908041251.3586C5664F5@henry1.codesourcery.com> <352976CE-E62C-49D9-B676-6778AB897D59@comcast.net> <4C8815E1.8040906@codesourcery.com> <4C892557.6070908@caviumnetworks.com> <4C892748.4030600@codesourcery.com> <4C892B16.3080505@codesourcery.com> <6237C02F-878D-4BAA-917A-3E436A361B5E@apple.com> Date: Thu, 09 Sep 2010 22:27:00 -0000 Message-ID: Subject: Re: RFA: ARM: Implement __builtin_trap From: Anton Korobeynikov To: Chris Lattner Cc: Mark Mitchell , David Daney , Mike Stump , gcc-patches@gcc.gnu.org, rearnshaw@arm.com, paul@codesourcery.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-09/txt/msg00882.txt.bz2 > Specifically, the LLVM backend emits: > > _t: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 @ @t > =C2=A0 =C2=A0 =C2=A0 =C2=A0.long 0xe7ffdefe @ trap > > > So no, I don't think that trap is a standard mnemonic. iirc "trap" is supported as a separate mnemonic in darwin as. gas does not support it, thus we emit .word / .long here --=20 With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University