Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752620AbbKVUkG (ORCPT ); Sun, 22 Nov 2015 15:40:06 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:60862 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752068AbbKVUkE convert rfc822-to-8bit (ORCPT ); Sun, 22 Nov 2015 15:40:04 -0500 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Arnd Bergmann Cc: Russell King - ARM Linux , Peter Maydell , Nicolas Pitre , "linux-arm-msm\@vger.kernel.org" , Stephen Boyd , lkml - Kernel Mailing List , Steven Rostedt , arm-mail-list Subject: Re: [RFC/PATCH 0/3] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions References: <1448068997-26631-1-git-send-email-sboyd@codeaurora.org> <4527012.vmieWOaE32@wuerfel> <20151122200326.GK8644@n2100.arm.linux.org.uk> <3964884.0P2KA5fUaZ@wuerfel> Date: Sun, 22 Nov 2015 20:39:54 +0000 In-Reply-To: <3964884.0P2KA5fUaZ@wuerfel> (Arnd Bergmann's message of "Sun, 22 Nov 2015 21:37 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 875 Lines: 29 Arnd Bergmann writes: > arnd@wuerfel:/tmp$ arm-linux-gnueabihf-gcc -Wall -O2 -mcpu=cortex-a15 idiv.c -c -o idiv-arm.o > arnd@wuerfel:/tmp$ objdump -dr idiv-arm.o > > idiv-arm.o: file format elf32-littlearm > > Disassembly of section .text: > > 00000000 : > 0: fbb0 f0f1 udiv r0, r0, r1 > 4: 4770 bx lr > 6: bf00 nop > > 00000008 : > 8: fb90 f0f1 sdiv r0, r0, r1 > c: 4770 bx lr > e: bf00 nop Your compiler seems to default to thumb so you should add -marm. -- M?ns Rullg?rd mans@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/