From: Mike Frysinger Date: Sun, 5 Feb 2012 15:40:03 -0500 Subject: [U-Boot] [PATCH 2/2] RFC: Let linker create phy array In-Reply-To: <4F2E83A1.8020503@aribaud.net> References: <1328410966-13946-1-git-send-email-troy.kisky@boundarydevices.com> <201202042238.42038.vapier@gentoo.org> <4F2E83A1.8020503@aribaud.net> Message-ID: <201202051540.04502.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 Sunday 05 February 2012 08:26:57 Albert ARIBAUD wrote: > Le 05/02/2012 04:38, Mike Frysinger a ?crit : > > On Saturday 04 February 2012 22:02:46 Troy Kisky wrote: > >> --- a/include/phy.h > >> +++ b/include/phy.h > >> > >> +extern struct phy_driver __phy_entry_start, __phy_entry_end; > > > > linker symbols should be declared like: > > extern char __phy_entry_start[]; > > Why should they? because that's what the GNU linker documentation says to, and that's how all existing symbols have been handled. look at asm/sections.h in every Linux arch. -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: