[U-Boot] [SOT] linker scripts
Mike Frysinger
vapier at gentoo.org
Fri Apr 27 07:32:51 CEST 2012
On Thursday 26 April 2012 00:16:24 Jason wrote:
> I know this is a little off topic, but u-boot is the only project I've
> found implementing a feature I'd like to add to a project.
> Specifically, the macro U_BOOT_CMD() and it's use of
> section(".u_boot_cmd").
what is it you want to do ? a list of func pointers to execute ? can't you
do this with constructor attributes ?
> I'd like to implement something similar in a userspace C program, but I
> can't get it to work. A lot of my searches on the net for my various
> errors leads me to believe I should let gcc do the linking and not mess
> with ld.
a better place would probably be the binutils mailing list
-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/20120427/72262979/attachment.pgp>
More information about the U-Boot
mailing list