[U-Boot] [PATCH 2/2] RFC: Let linker create phy array
Mike Frysinger
vapier at gentoo.org
Sun Feb 5 21:40:03 CET 2012
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: <http://lists.denx.de/pipermail/u-boot/attachments/20120205/398a3e01/attachment.pgp>
More information about the U-Boot
mailing list