This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RE: eCos Loader
- From: Andrew Lunn <andrew at lunn dot ch>
- To: David Bonfrer <ecos at bonfrer dot com>
- Cc: 'Anthony Tonizzo' <atonizzo at lycos dot com>, ecos-discuss at sources dot redhat dot com
- Date: Wed, 27 Apr 2005 08:17:33 +0200
- Subject: Re: [ECOS] RE: eCos Loader
- References: <20050426204513.30E1BE5BC7@ws7-2.us4.outblaze.com> <200504262003.j3QK3dex009649@router.bonfrer.thuis>
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