[ECOS] RE: eCos Loader

Andrew Lunn andrew@lunn.ch
Wed Apr 27 08:25:00 GMT 2005


On Tue, Apr 26, 2005 at 11:01:07PM +0200, David Bonfrer wrote:
> Hi,
> 
> I'm using ELF executable and shared libs.
> 
> I know that *diag_printf points to the function diag_printf.
> 
> The question is: How do I get this in general?
> 
> I don't want to fill my own tables with:
> 
> If ("printf"){location = *printf}
> If ("scanf") {location = *scanf}

How about 

arm-elf-nm libtarget.ld | some_script.tcl > linker_table.c
gcc linker_table.c

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list