* [U-Boot-Users] PATCH: Add strtoul in syscall table
@ 2002-12-09 9:02 Pierre AUBERT
2003-01-13 22:45 ` [U-Boot-Users] " Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Pierre AUBERT @ 2002-12-09 9:02 UTC (permalink / raw)
To: u-boot
Hi everybody,
The following patch adds the strtoul entry in the syscall table. This
function is
very usefull for analyzing the command line arguments in standalone
applications.
CHANGELOG:
* Patch by Pierre Aubert , 09 Dec 2002
Add strtoul in syscall table.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strtoul.patch
Type: application/octet-stream
Size: 2087 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20021209/0dc8c7ca/attachment.obj
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Re: PATCH: Add strtoul in syscall table
2002-12-09 9:02 [U-Boot-Users] PATCH: Add strtoul in syscall table Pierre AUBERT
@ 2003-01-13 22:45 ` Wolfgang Denk
2003-01-14 9:16 ` Pierre AUBERT
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2003-01-13 22:45 UTC (permalink / raw)
To: u-boot
In message <3DF45C39.EE4FD65C@staubli.com> you wrote:
>
> The following patch adds the strtoul entry in the syscall table. This
> function is
> very usefull for analyzing the command line arguments in standalone
> applications.
Why do you think this is necessary?
simple_strtoul() is part of the generic library (implemented in
lib_generic/vsprintf.c). Any standalone application that needs this
function can simply link against this library, so I don;t see the
benefit from calling this through the syscall interface.
Maybe I'm missing something?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
A right is not what someone gives you; it's what no one can take from
you. - Ramsey Clark
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] Re: PATCH: Add strtoul in syscall table
2003-01-13 22:45 ` [U-Boot-Users] " Wolfgang Denk
@ 2003-01-14 9:16 ` Pierre AUBERT
0 siblings, 0 replies; 3+ messages in thread
From: Pierre AUBERT @ 2003-01-14 9:16 UTC (permalink / raw)
To: u-boot
Wolfgang Denk wrote:
> In message <3DF45C39.EE4FD65C@staubli.com> you wrote:
> >
> > The following patch adds the strtoul entry in the syscall table. This
> > function is
> > very usefull for analyzing the command line arguments in standalone
> > applications.
>
> Why do you think this is necessary?
>
> simple_strtoul() is part of the generic library (implemented in
> lib_generic/vsprintf.c). Any standalone application that needs this
> function can simply link against this library, so I don;t see the
> benefit from calling this through the syscall interface.
> Maybe I'm missing something?
I've tried to link my standalone application againt the libgeneric
library. I've got a lot
of undefined references (to printf, putc, udelay, do_reset) during the
link because the
function simple_strtoul is in the file vsprintf.c which contains other
functions (panic, sprintf, ...).
If we want to use this function in a standalone application, we need to
separate the
vsprintf.c in several pieces. What is the best solution ?
>
> Best regards,
>
> Wolfgang Denk
Best regards
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-14 9:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-09 9:02 [U-Boot-Users] PATCH: Add strtoul in syscall table Pierre AUBERT
2003-01-13 22:45 ` [U-Boot-Users] " Wolfgang Denk
2003-01-14 9:16 ` Pierre AUBERT
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox