- 06 Jan, 2004 1 commit
-
-
Ben Avison authored
Version 5.46, 4.64.2.1. Tagged as 'RISC_OSLib-5_46-4_64_2_1'
-
- 15 Apr, 2003 1 commit
-
-
Kevin Bracey authored
* _Exit() added. * Lots of new <math.h> functions (acosh, asinh, atanh, exp2, expm1, ilogb, log1p, log2, logb, scalbn, scalbln, cbrt, erf, erfc, lgamma, tgamma, nexttoward, fmaf). Float and long double forms of every function added; long double forms are included as another library object in the stubs rather than the shared library, as they just branch to the double form. * Subnormal/NaN/infinity cases in various <math.h> functions improved. * Added <tgmath.h>. * Headers brought into line with CC 5.54. * RMEnsures added to C library initialisation to try to load minimum CallASWI, FPEmulator, CLib. No errors reported if load fails. * A few pointless inter-file dependencies removed to reduce minimum size of included ANSILib. Version 5.46. Tagged as 'RISC_OSLib-5_46'
-
- 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 1 commit
-
-
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'
-
- 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'
-
- 22 Feb, 2002 1 commit
-
-
Steve Revill authored
Version 5.36. Tagged as 'RISC_OSLib-5_36'
-
- 23 Aug, 2001 2 commits
-
-
Kevin Bracey authored
-
Kevin Bracey authored
* Fixed C library tty so it can output '\b' (backspace). * Made offsetof() and va_arg() macros work with C++. Version 5.34. Tagged as 'RISC_OSLib-5_34'
-
- 06 Apr, 2001 1 commit
-
-
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'
-
- 02 Mar, 2001 1 commit
-
-
Stewart Brodie authored
Module library builds of RISC_OSLib are exported during export_libs Detail: Ever since res_findname was altered to use <appname>:<resourcename> as the filename, the !C++ tool has been broken, because C++:Messages returns a different error to "not found" when you try to open it (it says it is an invalid filename). This error is now caught explicitly and res_findname falls back to using <appname$Dir>.<resourcename> like it did before. Admin: Required by FrontEnd 1.21 or later. Required by !C++ (c++cmd-3_17 or later to function correctly) Version 5.28. Tagged as 'RISC_OSLib-5_28'
-
- 13 Dec, 2000 1 commit
-
-
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'
-
- 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
-
-
Stewart Brodie authored
Fixed bug in getenv() relating to macro and numeric system variables. Detail: Uses SYMDEFS file to avoid messing around with generating little text files, generating assembler source, assembling it etc. abssym et al are construct as symbol definition template files and then updated directly by the linker ready for export. The linker can use these files directly without needing them to be assembled into AOF format. Fixed getenv so that it can read macro and numeric variables. With these variable types, R2 does not equal -length of the variable value, so trying to obtain a variable with a larger value than any previously read variable would fail. This is now fixed. This module will refuse to build without link 5.19 or later. Admin: Requires Library 0.54 or later. This component will not build with Library 0.53 or earlier. Version 5.16. Tagged as 'RISC_OSLib-5_16'
-
- 17 Aug, 2000 1 commit
-
-
Stewart Brodie authored
Detail: Due to a dependency cockup, the C library wasn't being relinked properly during rom_link, so all the symbols exported in abssym files pointed to the locations the previous build was linked at. This is now fixed by the addition of a new pseudo-target. Admin: Tested clean and incremental build and verified the abssym file. Checked the build log to ensure relinking was occurring. Versions 5.11 and 5.12 of this component are fundamentally flawed. Version 5.13. Tagged as 'RISC_OSLib-5_13'
-
- 11 Aug, 2000 1 commit
-
-
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 'RISC_OSLib-5_11'
-
- 09 May, 2000 1 commit
-
-
Kevin Bracey authored
Version 5.06. Tagged as 'RISC_OSLib-5_06'
-
- 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
Detail: amu cleverly sets Sys$ReturnCode to zero just prior to executing any command from the Makefile, hence checking for Sys$ReturnCode does not work. Script changed to look for AMU$ReturnCode which is (in amu 5.06 and later) the return code of the previous command. However, since the variable will not be set by earlier versions of amu, the behaviour of always copying the file will return until amu 5.06 appears in the build. Admin: Tested manually. Version 4.99. Tagged as 'RISC_OSLib-4_99'
-
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'
-
- 12 May, 1999 1 commit
-
-
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'
-
- 29 Oct, 1998 1 commit
-
-
Kevin Bracey authored
A feeble hack to get Edit to display Japanese, plus a more serious attempt that doesn't work, compiled out. Version 4.91. Tagged as 'RISC_OSLib-4_91'
-
- 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 1 commit
-
-
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'
-
- 05 Nov, 1996 1 commit
-
-
Neil Turton authored
-