; Copyright 1996 Acorn Computers Ltd
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
;     http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
;-*- Mode: Assembler -*-
; 19-Nov-91 ECN Added _swi and _swix
;
; Copyright (C) Acorn Computers Ltd., 1989.
;
; Add new entries ONLY AT THE END of the list
;
; IDJ: 11-Apr-94:  Entry2 added to allow aliasing of entry points known to the ARM compiler
;                  eg x$stack_overflow and __rt_stkovf_split_small
;

        Entry   TrapHandler, , , , 2
        Entry   UncaughtTrapHandler, , , , 2
        Entry   EventHandler, , , , 2
        Entry   UnhandledEventHandler, , , , 2

        Entry2  x$stack_overflow, imported, _kernel_stkovf_split_0frame, _kernel_stkovfs_0v, , IMPORT, __rt_stkovf_split_small
        Entry2  x$stack_overflow_1, imported, _kernel_stkovf_split, _kernel_stkovfs_v, , IMPORT, __rt_stkovf_split_big
        Entry2   x$udivide    , imported , _kernel_udiv , , 2, ,__rt_udiv
        Entry   x$uremainder , imported , _kernel_urem , , 2
        Entry2   x$divide     , imported , _kernel_sdiv , , 2, ,__rt_sdiv
        Entry2   x$divtest    ,          ,              , , 1, ,__rt_divtest
        Entry   x$remainder  , imported , _kernel_srem , , 2
        Entry   x$multiply   ,          ,              , direct, 2
        Entry2   _rd1chk      , , , , 1,, __rt_rd1chk
        Entry2   _rd2chk      , , , , 1,, __rt_rd2chk
        Entry2   _rd4chk      , , , , 1,, __rt_rd4chk
        Entry2   _wr1chk      , , , , 1,, __rt_wr1chk
        Entry2   _wr2chk      , , , , 1,, __rt_wr2chk
        Entry2   _wr4chk      , , , , 1,, __rt_wr4chk
        Entry   _main, imported , , , 2
        Entry   _exit        , , , , 1
        Entry   _clib_initialise, , , , 3
        Entry   _backtrace, imported, , , 3
        Entry   _count       , , , , 0
        Entry   _count1      , , , , 0
        Entry   _stfp        , , , , 3
        Entry   _ldfp        , , , , 1

        Entry   _printf, imported  , , , varargs
        Entry   _fprintf, imported , , , varargs
        Entry   _sprintf, imported , , , varargs
        Entry   clock, imported, , , 0
        Entry   difftime, imported, , , 2
        Entry   mktime, imported, , , 1
        Entry   time, imported, , , 1
        Entry   asctime, imported, , , 1
        Entry   ctime, imported, , , 1
        Entry   gmtime, imported, , , 1
        Entry   localtime, imported, , , 1
        Entry   strftime, imported, , , 4
        Entry   memcpy, imported, , , 3
        Entry   memmove, imported, , , 3
        Entry   strcpy, imported, , , 2
        Entry   strncpy, imported, , , 3
        Entry   strcat, imported, , , 2
        Entry   strncat, imported, , , 3
        Entry   memcmp, imported, , , 3
        Entry   strcmp, imported, , , 2
        Entry   strncmp, imported, , , 3
        Entry   memchr, imported, , , 3
        Entry   strchr, imported, , , 2
        Entry   strcspn, imported, , , 2
        Entry   strpbrk, imported, , , 2
        Entry   strrchr, imported, , , 2
        Entry   strspn, imported, , , 2
        Entry   strstr, imported, , , 2
        Entry   strtok, imported, , , 2
        Entry   memset, imported, , , 3
        Entry   strerror, imported, , , 1
        Entry   strlen, imported, , , 1
        Entry   atof, imported, , , 1
        Entry   atoi, imported, , , 1
        Entry   atol, imported, , , 1
        Entry   strtod, imported, , , 2
        Entry   strtol, imported, , , 3
        Entry   strtoul, imported, , , 3
        Entry   rand, imported, , , 1
        Entry   srand, imported, , , 1
        Entry   calloc, imported, , , 2
        Entry   free, imported, , , 1
        Entry   malloc, imported, , , 1
        Entry   realloc, imported, , , 2
        Entry   abort, imported, , , 0
        Entry   atexit, imported, , , 1
        Entry   exit, imported, , , 1
        Entry   getenv, imported, , , 1
        Entry   system, imported, , , 1
        Entry   bsearch, imported, , __bsearch, , IMPORT
        Entry   qsort, imported, , , 4
        Entry   abs, imported, , , 1
        Entry   div, , , , 2
        Entry   labs, imported, , , 1
        Entry   ldiv, , , , 2
        Entry   remove, imported, , , 1
        Entry   rename, imported, , , 2
        Entry   tmpfile, imported, , , 1
        Entry   __old_tmpnam, imported, tmpnam, , 1
        Entry   fclose, imported, , , 1
        Entry   fflush, imported, , , 1
        Entry   fopen, imported, , , 2
        Entry   freopen, imported, , , 3
        Entry   setbuf, imported, , , 2
        Entry   setvbuf, imported, , , 4
        Entry   printf, imported   , , , varargs
        Entry   fprintf, imported  , , , varargs
        Entry   sprintf, imported  , , , varargs
        Entry   scanf, imported    , , , varargs
        Entry   fscanf, imported   , , , varargs
        Entry   sscanf, imported   , , , varargs
        Entry   vprintf, imported  , , , 2
        Entry   vfprintf, imported , , , 3
        Entry   vsprintf, imported , , , 3
        Entry   _vfprintf, imported, , , 3
        Entry   fgetc, imported    , , , 1
        Entry   fgets, imported    , , , 3
        Entry   fputc, imported    , , , 2
        Entry   fputs, imported    , , , 2
        Entry   __filbuf, imported , , , 1
        Entry   getc, imported     , , , 1
        Entry   getchar, imported  , , , 0
        Entry   gets, imported     , , , 1
        Entry   __flsbuf, imported , , , 2
        Entry   putc, imported     , , , 2
        Entry   putchar, imported  , , , 1
        Entry   puts, imported     , , , 1
        Entry   ungetc, imported   , , , 2
        Entry   fread, imported    , , , 4
        Entry   fwrite, imported   , , , 4
        Entry   fgetpos, imported  , , , 2
        Entry   fseek, imported    , , , 3
        Entry   fsetpos, imported  , , , 2
        Entry   ftell, imported    , , , 1
        Entry   rewind, imported   , , , 1
        Entry   clearerr, imported , , , 1
        Entry   feof, imported     , , , 1
        Entry   ferror, imported   , , , 1
        Entry   perror, imported   , , , 1
        Entry   __ignore_signal_handler, imported, , , 1
        Entry   __default_signal_handler, imported, , , 1
        Entry   __error_signal_marker, imported, , , 1
        Entry   signal, imported , , , 2
        Entry   raise, imported , , , 1
        Entry   setjmp, , , , 1
        Entry   longjmp, , , , 2

        Entry   acos , , , , 2
        Entry   asin , , , , 2
        Entry   atan , imported, , , 2
        Entry   atan2, imported, , , 4
        Entry   cos  , imported, , , 2
        Entry   sin  , imported, , , 2
        Entry   tan  , , , , 2
        Entry   cosh, imported, , , 2
        Entry   sinh, imported, , , 2
        Entry   tanh, imported, , , 2
        Entry   exp, , , , 2
        Entry   frexp, imported, , , 3
        Entry   ldexp, imported, , , 3
        Entry   log  , , , , 2
        Entry   log10, , , , 2
        Entry   modf, imported, , , 4
        Entry   pow  , , , , 4
        Entry   sqrt , , , , 2
        Entry   ceil, imported, , , 2
        Entry   fabs, imported, , , 2
        Entry   floor, imported, , , 2
        Entry   fmod, imported, , , 4
        Entry   setlocale, imported , , , 2
        Entry   isalnum, imported , , , 1
        Entry   isalpha, imported , , , 1
        Entry   iscntrl, imported , , , 1
        Entry   isdigit, imported , , , 1
        Entry   isgraph, imported , , , 1
        Entry   islower, imported , , , 1
        Entry   isprint, imported , , , 1
        Entry   ispunct, imported , , , 1
        Entry   isspace, imported , , , 1
        Entry   isupper, imported , , , 1
        Entry   isxdigit, imported , , , 1
        Entry   tolower, imported , , , 1
        Entry   toupper, imported , , , 1
        Entry   __assert, imported , , , 3
        Entry   _memcpy, , , , 3
        Entry   _memset, , , , 3
        Entry   localeconv, imported , , , 0
        Entry   mblen, imported, , , 2
        Entry   mbtowc, imported, , , 3
        Entry   wctomb, imported, , , 2
        Entry   mbstowcs, imported, , , 3
        Entry   wcstombs, imported, , , 3
        Entry   strxfrm, imported, , , 3
        Entry   strcoll, imported, , , 2

        Entry   _clib_finalisemodule, , , unveneered
        Entry   _clib_version, imported, , unveneered
        Entry   _CLib_Finalise, imported, _lib_shutdown, unveneered
        Entry   tmpnam, imported, , unveneered

        Entry   _swi, imported, , unveneered
        Entry   _swix, imported, , unveneered

        Entry   __fpclassifyf, , , unveneered
        Entry   __fpclassifyd, , , unveneered
        Entry   __signbitf, , , unveneered
        Entry   __signbitd, , , unveneered
        Entry   copysign, , , unveneered
        Entry   copysignf, , , unveneered
        Entry   nan, imported, , unveneered
        Entry   nanf, imported, , unveneered
        Entry   nextafter, , , unveneered
        Entry   nextafterf, , , unveneered
        Entry   fdim, imported, , unveneered
        Entry   fdimf, imported, , unveneered
        Entry   fmax, , , unveneered
        Entry   fmaxf, , , unveneered
        Entry   fmin, , , unveneered
        Entry   fminf, , , unveneered
        Entry   fabsf, imported, , unveneered
        Entry   hypot, , , unveneered
        Entry   hypotf, , , unveneered

        Entry   feclearexcept, imported, , unveneered
        Entry   fegetexceptflag, imported, , unveneered
        Entry   feraiseexcept, imported, , unveneered
        Entry   fesetexceptflag, imported, , unveneered
        Entry   fetestexcept, imported, , unveneered
        Entry   fegetround, imported, , unveneered
        Entry   fesetround, imported, , unveneered
        Entry   fegetenv, imported, , unveneered
        Entry   feholdexcept, imported, , unveneered
        Entry   fesetenv, imported, , unveneered
        Entry   feupdateenv, imported, , unveneered

        Entry   _snprintf, imported, , unveneered
        Entry   snprintf, imported, , unveneered
        Entry   vsnprintf, imported, , unveneered
        Entry   vfscanf, imported, , unveneered
        Entry   vscanf, imported, , unveneered
        Entry   vsscanf, imported, , unveneered

        Entry   ceilf, imported, , unveneered
        Entry   floorf, imported, , unveneered
        Entry   nearbyint, , , unveneered
        Entry   nearbyintf, , , unveneered
        Entry   rint, imported, , unveneered
        Entry   rintf, imported, , unveneered
        Entry   lrint, imported, , unveneered
        Entry   lrintf, imported, , unveneered
        Entry   round, , , unveneered
        Entry   roundf, , , unveneered
        Entry   lround, , , unveneered
        Entry   lroundf, , , unveneered
        Entry   trunc, imported, , unveneered
        Entry   truncf, imported, , unveneered
        Entry   remainder, , , unveneered
        Entry   remainderf, , , unveneered

; __va_illegal_arg 0
        END