From: Mike Frysinger Date: Fri, 17 Feb 2012 12:13:17 -0500 Subject: [U-Boot] [PATCH 2/4] arm: add %function attribute to assembly functions In-Reply-To: <1329314253-4596-3-git-send-email-aneesh@ti.com> References: <1328528248-20872-1-git-send-email-aneesh@ti.com> <1329314253-4596-3-git-send-email-aneesh@ti.com> Message-ID: <201202171213.18516.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 15 February 2012 08:57:31 Aneesh V wrote: > This is done using the following directive preceding > each function definition: > > .type , %function > > This marks the symbol as a function in the object > header which in turn helps the linker in some cases. > > In particular this was found needed for resolving ARM/Thumb > calls correctly in a build with Thumb interworking enabled. ideally arm would use the new linkage.h header and then these would change to doing what Linux does: ENTRY(foo) ENDPROC(foo) -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: