- 15 Nov, 2002 1 commit
-
-
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'
-
- 22 May, 2002 2 commits
-
-
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'
-
Ben Avison authored
Created cleanroom implementation of 64-bit integer support for licencing reasons. Tested fairly thoroughly (in fact, this testing showed up a bug in the old code which unbalanced the stack for 50% of cases where you divided a negative long long by 10). Hopefully should work faster than the old code too! Reapplied all relevant old tags. Real commit date 2008-03-18.
-
- 11 Apr, 2002 1 commit
-
-
Kevin Bracey authored
* Added C99 functions floorf, ceilf, [l]rint[f], trunc[f], [l]round[f], nearbyint[f] and remainder[f]. * Added macros (only) for sinf, cosf, atanf. * Requires cc 5.43 Version 5.39. Tagged as 'RISC_OSLib-5_39'
-
- 21 Mar, 2002 1 commit
-
-
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'
-
- 21 Nov, 2000 1 commit
-
-
Stewart Brodie authored
Modulewrapped modules will now have the correct 32-bitness flag. Admin: Built. Version 5.23. Tagged as 'RISC_OSLib-5_23'
-
- 08 Nov, 2000 1 commit
-
-
Kevin Bracey authored
Second attempt at getting 32-bit overlay manager to work. Version 5.21. Tagged as 'RISC_OSLib-5_21'
-
- 17 Oct, 2000 1 commit
-
-
Kevin Bracey authored
* First attempt at a working 32-bit overlay manager. Untested. Version 5.19. Not tagged
-
- 02 Oct, 2000 1 commit
-
-
Kevin Bracey authored
* Correction to static base location in modulewrap - was affecting some DSL 4000 video software. Version 5.15. Tagged as 'RISC_OSLib-5_15'
-
- 03 Jul, 2000 1 commit
-
-
Kevin Bracey authored
C library now has a default message for C71 (Calling standard no longer supported), so you get a meaningful message if soft-loading a new version. No code changes. Version 5.10. Tagged as 'RISC_OSLib-5_10'
-
- 09 May, 2000 1 commit
-
-
Kevin Bracey authored
Version 5.06. Tagged as 'RISC_OSLib-5_06'
-
- 28 Apr, 2000 2 commits
-
-
Andrew Hodgkinson authored
Version 5.05. Not tagged
-
Andrew Hodgkinson authored
Detail: UsePathForHelpMessages switch added - if the symbol is defined, Messages are obtained from <AppName>:Messages, requiring an <AppName>$Path system variable. Previously, they were always fetched from Resources which is only correct if the module is in ROM. This only influences the ability to give sensible *help output for *help Desktop_<AppName>. In addition, KJB added code to export the module private word pointer as 'module_private_word_ptr'. Admin: Tested inside PlugPlay RAM module build. Version 5.05. Tagged as 'RISC_OSLib-5_05'
-
- 07 Mar, 2000 1 commit
-
-
Stewart Brodie authored
Detail: New script will search the export directory for headers that should be exported SWI symbols for it and only cause them to be included if it finds the header file. This means that unless a component in your build actually needs the SWI symbols from another component, you no longer require that component to be in your modules file purely to enable successful generation of swis.h Admin: Test build performed. Version 5.03. Tagged as 'RISC_OSLib-5_03'
-
- 25 Nov, 1999 2 commits
-
-
Stewart Brodie authored
-
Stewart Brodie authored
Detail: The Makefile now performs a diff of CLIB:h.swis and derived.swis in order to determine whether it needs to export the header or not. This can save compilation time if the header file has not changed since it used to cause virtually all C code to recompile. s/makeswish now imports Hdr:Machine.<Machine> and executes $GetIO to ensure that the Portable module header export functions correctly. Admin: Tested. Version 4.98. Tagged as 'RISC_OSLib-4_98'
-
- 10 Nov, 1999 1 commit
-
-
Kevin Bracey authored
It also copes with STFE now - it was totally broken. 32-bit stubs and corresponding LibInit SWIs created. All rather untested. Version 4.97, 4.12.2.3. Tagged as 'RISC_OSLib-4_97-4_12_2_3'
-
- 26 Oct, 1998 1 commit
-
-
Stewart Brodie authored
Moved template for swis.h out of asm source into separate text file. Detail: s.makehswis: The text which forms the common header for the derived swis.h is now stored externally rather than declared inline with assembler directives. h.swisheaders: The external file containing the common header. Now wraps the declarations of _swi and _swix with "#pragma -v4" to activate the _swi/_swix parameter checking for those functions. Makefile: Added dependency of derived.swis on h.swisheader Admin: Built and exported. Tested with cc 5.09 and it was happy with the new pragma (it ignores it). Tested with what will be cc 5.10 and it recognised it and started checking _swi and _swix calls. Version 4.90. Tagged as 'RISC_OSLib-4_90'
-
- 01 Oct, 1998 1 commit
-
-
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'
-
- 27 Aug, 1998 3 commits
-
-
Simon Middleton authored
-
Simon Middleton authored
-
Simon Middleton authored
Merged Spinner branch changes onto trunk (new RCA messages files and Makefile changes). Convert to srccommit while we're at it. Removed a few $Revision's to prevent future spurious merge clashes. Version 4.87. Tagged as 'RISC_OSLib-4_87'
-
- 21 Aug, 1998 1 commit
-
-
Richard Manby authored
If a module written in C uses function getenv, buffer space is allocated in the RMA. This buffer was never freed, leading to RMA leakage when the module was 'RMKill'ed or 'RMReInit'ed. Changes c.armsys added function _terminate_getenv to free the buffer c.stdlib added flag getenv_finalised to the exit_s structure initialised getenv_finalised in function _exit_init atexit tests getenv_finalised, calls _terminate_getenv s.version version string changed to 4.86 (27 Jul 1998)
-
- 01 May, 1997 2 commits
-
-
Kevin Bracey authored
-
Kevin Bracey authored
-
- 21 Jan, 1997 1 commit
-
-
Neil Turton authored
-
- 05 Nov, 1996 2 commits
-
-
Neil Turton authored
-
Neil Turton authored
-