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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot