From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4653 invoked by alias); 18 Jun 2012 22:26:08 -0000 Received: (qmail 4610 invoked by uid 22791); 18 Jun 2012 22:26:05 -0000 X-SWARE-Spam-Status: No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-we0-f169.google.com (HELO mail-we0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Jun 2012 22:25:52 +0000 Received: by wefh52 with SMTP id h52so5105286wef.0 for ; Mon, 18 Jun 2012 15:25:51 -0700 (PDT) Received: by 10.180.95.137 with SMTP id dk9mr27390662wib.1.1340058351530; Mon, 18 Jun 2012 15:25:51 -0700 (PDT) Received: from localhost.localdomain (host-2-96-99-49.as13285.net. [2.96.99.49]) by mx.google.com with ESMTPS id gb9sm28245657wib.8.2012.06.18.15.25.48 (version=SSLv3 cipher=OTHER); Mon, 18 Jun 2012 15:25:50 -0700 (PDT) Message-ID: <4FDFAAEE.5080100@googlemail.com> Date: Mon, 18 Jun 2012 22:26:00 -0000 From: David Fernandez User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Khem Raj CC: crossgcc@sourceware.org Subject: Re: crt0.o from newlib has ARM32-only routines when building gcc for arm-eabi References: <4FDF9888.1050405@googlemail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00032.txt.bz2 On 18/06/12 22:42, Khem Raj wrote: > On Mon, Jun 18, 2012 at 2:07 PM, David Fernandez > wrote: >> Is that expected? As crt0.S in newlib has #ifdefs to choose the right >> thumb-2, thumb or ARM specific assembler depending on the predefined macros. > look for compiler cmdline when this was compiled. Did you use --with-mode=thumb > when configuring the compiler ? Gosh! I didn't. No idea that it needed a special parameter to have thumb only mode... even for a CPU that will refuse to compile without "-mthumb"... Thanks for the tip. I'll try that soon. Cheers -- For unsubscribe information see http://sourceware.org/lists.html#faq