[U-Boot] [PATCH 2/2] RFC: Let linker create phy array
Mike Frysinger
vapier at gentoo.org
Tue Feb 7 16:20:43 CET 2012
On Monday 06 February 2012 16:01:56 Albert ARIBAUD wrote:
> Le 06/02/2012 21:57, Mike Frysinger a écrit :
> >> The would give me compiler warnings for unused variables. How does that
> >> help?
> >
> > does gcc issue warnings ? doesn't seem to do so for me.
>
> Some do, and some will.
vague ... be nice to have actual examples
> >> Is there a keep attribute like the linker has for sections?
> >
> > yes, __attribute__((used))
>
> What is the point in adding a 'static' qualifier and a ((used))
> attribute, when not adding them in the first place gives the same result?
to control the visibility
-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/20120207/4ab1183e/attachment.pgp>
More information about the U-Boot
mailing list