1. 15 Nov, 2002 1 commit
    • Kevin Bracey's avatar
      ROM build fixed for 64-bit stuff. · f207fcb2
      Kevin Bracey authored
      PCI added to swis.h
      alloc.c updated to handle bigger slots (new code merged from ARM libraries)
      Various 32-bit fixes for backtracing, and general trap handling.
      Polite "Application is not 32-bit compatible" message.
      Headers <stdint.h> and <inttypes.h> fixed to work in non-C99 mode.
      txt changed to do new-style Delete behaviour
      
      Version 5.44. Tagged as 'RISC_OSLib-5_44'
      f207fcb2
  2. 12 Aug, 2002 1 commit
    • Ben Avison's avatar
      How did we not notice this before? · 45c70245
      Ben Avison authored
      Detail:
        Fixed a stack imbalance in _memcpy that's been there since 32-bitting.
      Admin:
        Not tested yet.
      
      Version 5.43. Tagged as 'RISC_OSLib-5_43'
      45c70245
  3. 23 Jul, 2002 1 commit
  4. 22 May, 2002 1 commit
    • Kevin Bracey's avatar
      * Added two new library chunks, 4 and 5, which contain extensions to the... · 89eac61e
      Kevin Bracey authored
      * Added two new library chunks, 4 and 5, which contain extensions to the kernel and C library respectively. These have no static data associated with them, just being extensions of the stub tables. The reason for this is to minimise wasted space in programs that don't use the C99 facilities; o.stubs is now a library split into 3 pieces - basic kernel and CLib, extra kernel and extra
      
        CLib; only the bits a program needs get included.
      
      * Previous extensions to the C library stubs revoked - they now stop at _swix;
        all the new C99 functions now live in chunk 4. Anyone using those new
        functions should relink with new stubs and ensure this C library version.
      
      * printf/scanf now support 64-bit types through "ll" and "j" length modifiers.
      
      * Run-time support for VLAs (__rt_allocauto and __rt_freeauto) added. No
        attempt is currently made to clear up on longjmp or to cope with someone
        changing the kernel allocator while a VLA is active. These would be a
        future enhancement.
      
      * Added complete 64-bit run-time support (48 functions) to kernel library;
        these functions are compatible with the ones used by the ARM ADS. Many of
        the simpler functions will not normally be used by the compiler, as it
        will generate inline code. There is scope for improvement by switching
        in MULL and CLZ-using forms of multiply and divide when possible.
      
      * llabs and lldiv added to C library.
      
      * Header files corrected in a few areas, and changed to match the C compiler.
        <stdint.h> and <stdbool.h> now require the compiler to be in C99 mode
        (as detected using __STDC_VERSION__).
      
      
      Version 5.41. Tagged as 'RISC_OSLib-5_41'
      89eac61e
  5. 12 Apr, 2002 1 commit
  6. 11 Apr, 2002 2 commits
  7. 26 Mar, 2002 1 commit
    • Kevin Bracey's avatar
      * Added C99 extensions to strftime(). All basic specifiers supported, but "E"... · 84335a9f
      Kevin Bracey authored
      * Added C99 extensions to strftime(). All basic specifiers supported, but "E" and "O" modifiers ignored.
      
      * strftime specifiers %c, %X and %x for "C" locale changed to match C99.
      * Optimised hypot[f].
      * Missing hypotf() declaration added to <math.h>.
      * Fixed Shared C Library - inadvertent change to static data size meant it was
        incompatible with the stubs.
      
      Version 5.38. Tagged as 'RISC_OSLib-5_38'
      84335a9f
  8. 21 Mar, 2002 1 commit
    • Kevin Bracey's avatar
      Added the following C99 features: · f464cdae
      Kevin Bracey authored
        * snprintf(), vsnprintf(), vfscanf(), vscanf(), vsscanf()
        * hh, j, z and t printf length modifiers (indicating char, intmax_t, size_t
          and ptrdiff_t respectively)
        * Hexadecimal floating-point printing and scanning (%a/%A)
        * %F printf() specifier (upper-case form of %F)
        * Input/output of NaNs and Infinities
        * imaxdiv_t, imaxdiv(), strtoimax(), strtoumax() (simulated through macros)
        * <fenv.h>: feclearexcept(), fegetexceptflag(), feraiseexcept(),
                    fesetexceptflag(), fetestexcept(), fegetround(), fesetround(),
                    fegetenv(), feholdexcept(), fesetenv(), feupdateenv()
        * FLT_EVAL_METHOD, DECIMAL_DIG
        * hypot(), hypotf(), fabsf(), fdim(), fdimf(), fmax(), fmaxf(), fmin(),
          fminf()
        * INFINITY, NAN, fpclassify(), isfinite(), isinf(), isnan(), isnormal(),
          signbit(), copysign(), copysignf(), nan(), nanf(), nextafter(),
          nextafterf() isgreater(), isgreaterequal(), isless(), islessequal(),
          islessgreater(), isunordered()
      
      This involves adding 36 new entries to the stubs. Current versions of the C
      library will not fault client programs with such larger stubs, but will fill
      in the extra entries with junk. Programs requiring the new functions will have
      to RMEnsure this version of the Shared C Library.
      
      This version of the C library has been fixed so that in future, any extra
      unknown stubs entries will be filled in with a branch to zero, rather than
      corrupted.
      
      Requires cc 5.41 or later, both to build, and to make use of some of the extra
      facilities.
      
      
      Version 5.37. Tagged as 'RISC_OSLib-5_37'
      f464cdae
  9. 29 Jan, 2002 1 commit
    • Kevin Bracey's avatar
      Abort and error handling massively overhauled: · 350370aa
      Kevin Bracey authored
        Aborts now give standard error messages (Abort on Data Transfer at... etc)
        *ShowRegs now filled in after aborts
        assert(), abort(), "free failed" and standard signal handlers now use Wimp
          error boxes if in the desktop
        Postmortem button on error boxes to view the postmortem
      
      Also, x$multiply, x$divide, __rt_sdiv, x$remainder, x$udivide, __rt_udiv and
      x$uremainder optimised.
      
      Version 5.35. Tagged as 'RISC_OSLib-5_35'
      350370aa
  10. 23 Aug, 2001 1 commit
  11. 06 Apr, 2001 1 commit
    • Stewart Brodie's avatar
      Fix for strcmp(). · 9d5bf66a
      Stewart Brodie authored
        Fix for RISC_OSLib res() function.
      Detail:
        Version 4.89 featured an improved strcmp() routine that didn't actually
          work properly (bug #4085).  The return values had the wrong sign if this
          optimised code was used and the string contained top-bit set chars.
        Removed that rlib.s.asmdefs hack as the comment in the makefile suggested.
          Nothing needs it any more as the assembler sources that require it now
          get via a -PD argument.
        res_ prefix function was still wrong as it failed to detect valid but wrong
          filenames, hence the "Make$Path not defined" errors in the latest tools
          release.
      Admin:
        Fixes Bugzilla bug #4085
        Should fix BaseSW's build problems too.
      
      Version 5.29. Tagged as 'RISC_OSLib-5_29'
      9d5bf66a
  12. 13 Dec, 2000 1 commit
    • Stewart Brodie's avatar
      BBE support added. · 0f6d9975
      Stewart Brodie authored
      Detail:
        The BBE export rules for this component are fairly complex.  The rom_link
          bbe rule is overridden in its entirety by clib.rom_link_v as the symbol
          definitions need to be generated and exported during the rom_link phase.
      Admin:
        Tested in BBE build; does not affect other builds.
      
      Version 5.26. Tagged as 'RISC_OSLib-5_26'
      0f6d9975
  13. 30 Nov, 2000 1 commit
    • Kevin Bracey's avatar
      Stubs were using some 26/32-bit switching macros, which is invalid for a... · 189a7be0
      Kevin Bracey authored
      Stubs were using some 26/32-bit switching macros, which is invalid for a component that has to work on all OS versions. Changed to use 26/32-bit neutral code. Stubs issued in first 32-bit library release were using 26-bit forms, but they should only go wrong on a 32-bit system in failure cases
      
      (such as the SharedCLibrary being unplugged).
      
      Version 5.25. Tagged as 'RISC_OSLib-5_25'
      189a7be0
  14. 22 Nov, 2000 1 commit
    • Simon Forrest's avatar
      * Merged South African resource changes made on Bethany branch. · c359fc77
      Simon Forrest authored
      Detail:
      
        * (As above.)  It would perhaps be a worthwhile change to use LocalRes
          type functionality in future to allow the UK resources to be chosen
          when no locale-specific resources exist.
      
      Admin:
      
        * Changes first applied to Bethany branch version.  Resources are
          copied from UK -> SAfrica.
      
      Version 5.24. Tagged as 'RISC_OSLib-5_24'
      c359fc77
  15. 21 Nov, 2000 1 commit
  16. 11 Aug, 2000 1 commit
    • Stewart Brodie's avatar
      Added cut-down target which excludes RISC_OSLib. · ca39be4e
      Stewart Brodie authored
      Detail:
        This component now supports multiple TARGETs being passed in:
          Pass in CLib for a minimal C library excluding RISC_OSLib.
          Pass in RISC_OSLib to continue to build the full thing.
        BuildSys will be modified to make SharedCLibrary build ONLY
          the minimal library - this may mean that products that are
          to be updated may have to alter their components file to
          take the new SharedRISC_OSLib component instead of the
          SharedCLibrary target.
        syms.A_Entries is now automatically generated from C_Entries
          because this is the easiest way to generate the file.  If
          extra symbols are added to C_Entries, they will need to be
          removed by the egrep command which strips out _swi and _swix.
        Makefile tidied to be more careful about ${COMPONENT} and ${TARGET}
        clean_all rule improved to really clean things properly.
      Admin:
        Tested in STB400-2M build and on desktop build.
        Requires BuildSys-2_41 or later.
      
      Version 5.11. Tagged as 'RIS...
      ca39be4e
  17. 20 Jun, 2000 1 commit
    • Justin Fletcher's avatar
      Support for additional SCL resources in multi-language builds. · fa104f17
      Justin Fletcher authored
      Detail:
        * Copied UK resources to Italy, Germany (excepting where already
          present), France and Turkey for multi-language builds.
          LocalRes: cannot be used here, because of the clib/rlib prefixes on
          the resource paths.
          Note: These languages will need translating at some point, but are not
          generally user visible.
      Admin:
        Required for multiple language build of Bethany.
      
      Version 5.08. Not tagged
      fa104f17
  18. 09 May, 2000 1 commit
  19. 14 Jan, 2000 1 commit
    • Simon Forrest's avatar
      * Further message changes for the Lazarus project. · f7997a5f
      Simon Forrest authored
      Detail:
      
        * More minor message alterations: removed "Network Computer" and replaced
          this with "system", since this is generic.  Also brought the
          other resources up-to-date by including messages missing from the
          non-UK resources.
      
      Admin:
      
        * Checked but untested.  (These additional changes made after having
          discovered the phrase "Network Computer" within "rlib" during a
          search across the whole of the Lazarus sources; hopefully, I have
          found them all this time!)
      
      Version 5.01. Tagged as 'RISC_OSLib-5_01'
      f7997a5f
  20. 12 May, 1999 1 commit
    • Stewart Brodie's avatar
      Fixed up Makefile to export new header files. · 420d0857
      Stewart Brodie authored
        Added protection for cfront inclusion of stdint.h to ensure
          inclusion is faulted.
      Admin:
        Tested.
        Sources which are compiled -fussy will require Norcroft cc version
          5.11 or later in order to avoid the warning about the use of an
          undefined macro in an #if pre-processor statement and to avoid
          the non-ANSI include warning.
      
      Version 4.94. Tagged as 'RISC_OSLib-4_94'
      420d0857
  21. 11 May, 1999 1 commit
  22. 06 Dec, 1998 1 commit
  23. 01 Oct, 1998 1 commit
    • Kevin Bracey's avatar
      Ursula branch merged. · 9081a0dc
      Kevin Bracey authored
      StrongARMfudge flag removed.
      StrongARM compatibility set according to AMBKernel flag in Hdr:RISCOS
      strftime %U and %W specifiers fixed for week 0.
      
      Version 4.89. Tagged as 'RISC_OSLib-4_89'
      9081a0dc
  24. 19 Sep, 1997 1 commit
  25. 09 May, 1997 1 commit
  26. 05 Nov, 1996 1 commit