From: Mike Frysinger Date: Mon, 20 Feb 2012 23:19:14 -0500 Subject: [U-Boot] [PATCH 2/4] arm: add %function attribute to assembly functions In-Reply-To: References: <1328528248-20872-1-git-send-email-aneesh@ti.com> <20120220200746.GA5787@bill-the-cat> Message-ID: <201202202319.16547.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 Monday 20 February 2012 16:53:40 Simon Glass wrote: > On Mon, Feb 20, 2012 at 12:07 PM, Tom Rini wrote: > > On Sun, Feb 19, 2012 at 02:15:30AM -0500, Mike Frysinger wrote: > >> On Saturday 18 February 2012 17:03:59 Simon Glass wrote: > >> > On Wed, Feb 15, 2012 at 5:57 AM, Aneesh V wrote: > >> > > -.globl reset_cpu > >> > > +.type reset_cpu, %function > >> > > +.global reset_cpu > >> > > >> > Should we introduce a macro to deal with this rather than writing it > >> > out each time? EXPORT()? > >> > >> we have it already with the linux/linkage.h header :) > > > > Well, unless my tree is out of date (or stuff is in-flight) we don't > > have the full compliment here. We have for all and > > for bfin. That said, yes, we should grab at least the > > ARM version and make use of ENTRY/END_FUNC ala the kernel. I'm behind > > on my "convert __attribute__((...)) to __attr" series already or I'd say > > more :) > > In case one of you is going to look at this, can we try to use > asm-generic as much as possible? i don't know what you mean ... we already have linux/linkage.h with sane defaults for pretty much everyone. the Blackfin asm/linkage.h is an empty file to satisfy building. -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: