diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-08-02 19:28:31 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-08-02 19:28:31 +0000 |
commit | 98bfe22095ed82af9932e0559ab1194947fada72 (patch) | |
tree | 96b6d761c4c57da82757afb3323b241a92a0bbd7 /libgloss | |
parent | 0e77a3817f45f0bcadc0665200b143abc1c7c4c0 (diff) | |
download | newlib-98bfe22095ed82af9932e0559ab1194947fada72.zip newlib-98bfe22095ed82af9932e0559ab1194947fada72.tar.gz newlib-98bfe22095ed82af9932e0559ab1194947fada72.tar.bz2 |
2005-08-02 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/libcfunc.c (isatty): New function.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 4 | ||||
-rw-r--r-- | libgloss/arm/libcfunc.c | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index f06bc7c..b78f12e 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,5 +1,9 @@ 2005-08-02 Shaun Jackman <sjackman@gmail.com> + * libgloss/arm/libcfunc.c (isatty): New function. + +2005-08-02 Shaun Jackman <sjackman@gmail.com> + * libgloss/arm/syscalls.c (_exit): Call _kill with the second argument set to -1, which is an invalid signal number. (_kill): Comment and coding style changes only. diff --git a/libgloss/arm/libcfunc.c b/libgloss/arm/libcfunc.c index f684c25..26f5633 100644 --- a/libgloss/arm/libcfunc.c +++ b/libgloss/arm/libcfunc.c @@ -43,6 +43,16 @@ alarm (unsigned seconds) return 0; } +int _isatty(int fildes); +int __attribute__((weak)) +isatty(int fildes) +{ + /* GDB does not yet support the IsTTY SWI that _isatty + * calls, so always return true for now. */ + (void)fildes; + return 1; +} + int __attribute__((weak)) pause (void) { |