All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre AUBERT <p.aubert@staubli.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: PATCH: Add strtoul in syscall table
Date: Tue, 14 Jan 2003 10:16:39 +0100	[thread overview]
Message-ID: <3E23D577.6DE4AB87@staubli.com> (raw)
In-Reply-To: 20030113224555.86AD6C608E@atlas.denx.de

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

      reply	other threads:[~2003-01-14  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E23D577.6DE4AB87@staubli.com \
    --to=p.aubert@staubli.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.