- 29 Mar, 2015 1 commit
-
-
Robert Sprowson authored
Now ObjAsm can ALIGN with arbitrary numbers, use the same trick FileCore does in its header by padding with newlines. Not tagged.
-
- 01 Aug, 2014 1 commit
-
-
Jeffrey Lee authored
Detail: Makefile - Get the -depend option from ${STDTOOLOPTIONS}; also allows us to pull in the throwback flag. Fix all ${AS} calls to use ${AFLAGS} so that dependencies are tracked properly. Admin: Identical to previous binary Version 5.83. Retagged as 'RISC_OSLib-5_83'
-
- 08 Jul, 2014 1 commit
-
-
Robert Sprowson authored
Edit-1_70 and SrcEdit-1_28 no longer require these private headers. Version 5.83. Not tagged
-
- 15 Jun, 2014 1 commit
-
-
Ben Avison authored
Detail: These were previously languishing in the C compiler sources, but they belong in the C library. Note however that the library does not implement the functions described in these headers at the present time, so any attempt to use them will result in link-time errors. Admin: Untested (known not working) Version 5.83. Tagged as 'RISC_OSLib-5_83'
-
- 01 Sep, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: Makefile - The symbols file that gets generated during the build now gets copied to the install folder for ROM builds. This allows it to be picked up easily by debugging tools. Admin: Tested with BCM2835, OMAP3 & Disc builds Version 5.72. Retagged as 'RISC_OSLib-5_72'
-
- 15 Aug, 2012 1 commit
-
-
Jeffrey Lee authored
Detail: SWIOptions,feb - Added VCHIQ to SWI header list Makefile - Add SWIOptions as a dependency to s.swioptions, so exported swis.h will rebuild correctly if SWIOptions is changed Admin: Tested briefly Version 5.71. Tagged as 'RISC_OSLib-5_71'
-
- 28 Oct, 2011 1 commit
-
-
Ben Avison authored
Detail: * Added 64-bit file pointer API support, following the LFS spec v1.5 (see Docs directory). Internally, now uses 64-bit file pointers exclusively. For now, the backend still limits you to 4GB-1 files, but clients of the C library won't need recompiling again to support larger files than this once they use the new API. * Fixed a large number of warnings produced in compilation, assembly and linking, many of them new and resulting from the improved checks in the latest toolchain. * Increased the maximum stream buffer size from 16MB to 1GB. * Added Hdr:SDFS and Hdr:SDIO to the list of headers used to build swis.h if they are present. Admin: Verified that the new 64-bit file pointer buffering code works using a ROM build (since the toolchain makes extensive use of reading, writing and seeking internally). Version 5.64. Tagged as 'RISC_OSLib-5_64'
-
- 18 Oct, 2011 1 commit
-
-
Robert Sprowson authored
Be more quiet when cleaning. STM/LDM changed to Push/Pull. Moved an illegal instruction back into ARM's illegal instruction space. Version 5.62. Tagged as 'RISC_OSLib-5_62'
-
- 06 Dec, 2010 1 commit
-
-
Robert Sprowson authored
Functionality to query, plot, and transform a JPEG file modelled on the functions provided in 'sprite.c/h'. To be used to share more code between !Paint and !Draw. Version 5.59. Tagged as 'RISC_OSLib-5_59'
-
- 17 Jul, 2009 1 commit
-
-
Steve Revill authored
Make this component install more stuff that is required for the CToolsDev build. Shouldn't hurt anything else. Version 5.55. Tagged as 'RISC_OSLib-5_55'
-
- 26 Jun, 2009 1 commit
-
-
Ben Avison authored
Detail: Install rule now takes an optional INSTTYPE switch: if this is set to "libraries" then instead of installing the SCL module, we install the headers, stubs, ansilib, risc_oslib and overlay manager libraries. This is intended primarily for the tools CD disc image. The component is also now cleaned in the "clean" phase. Historically, the exception made for this component (and OSLib and Desk, both now binary imports) was made on the grounds of speed, and this is not such an issue these days. Moreover, we need cleaning to take place on desktop disc builds because the SCL must be built and installed in both APCS-R and APCS-32 versions, which requires an intermediate clean. Admin: Tested in a Tools CD build. Retagged as 'RISC_OSLib-5_54' Version 5.54. Not tagged
-
- 07 Jun, 2009 2 commits
-
-
Ben Avison authored
Detail: Some users reported problems building the sources if they had other installations of perl on their build machine. The build system was using a mixture of "perl" and "<Perl$Dir>.perl" to invoke the interpreter, and sometimes but not always using "do" to expand system variables on the command line. This has now been standardised to use "do <Perl$Dir>.perl in all cases, and where possible, to use the makefile macro ${PERL}. Admin: Checked that a Tungsten build still works on a build machine with no other perl installation. "perl" was aliased to an error to ensure it wasn't used. Version 5.54. Not tagged
-
Ben Avison authored
Detail: Previous commit moved the location of the EditIntern directory within the sources but did not update the export rules in the Makefile to match. The result was that Edit no longer builds from clean, breaking Tungsten and IOMD ROM builds. Admin: Checked in a TungstenDev build. Version 5.54. Not tagged
-
- 07 Mar, 2005 1 commit
-
-
Kevin Bracey authored
Version 5.52. Tagged as 'RISC_OSLib-5_52'
-
- 09 Nov, 2004 1 commit
-
-
Ben Avison authored
* clib.rom_link_v doesn't seem to have been kept in step with the changes to srcbuild as part of the cross-compilation work: it is no longer the job of the verbatim rom link makefie fragment to provide a rom_link rule. An appropriate alternative set of forwarding rules have been implemented instead. * clib.rom_link_v was never taught about the new C99 library chunks, and the relevant s files weren't being exported in the BBE phase either. Retagged since this won't affect code generation for existing builds.
-
- 23 Jan, 2004 1 commit
-
-
Kevin Bracey authored
* isprint() now true for non-breaking spaces <math.h> * FP_INFINITY corrected to FP_INFINITE * fma(), fmal(), llrint(), llrintf(), llrintl(), llround(), llroundf(), llroundl(), remquo(), remquof(), remquol() added. * added inlining for remainder() and fmaf() and various float functions. * math_errhandling removed pending overhaul - it was misleading. * expm1() and log1p() now provide decent (< 1 ulp) accuracy, rather than only being marginally better than exp(x)-1 and log(1+x). * new version of copysign() with standard calling conventions. * some C99 functions changed to use infinity/NaNs and exceptions for error handling - see comments in header file about the changes in progress. <stdio.h> * output from %a now correctly rounded <stdlib.h> * strtof() and strtold() added. <string.h> * strerror() no longer clears _kernel_last_oserror(). Version 5.49. Tagged as 'RISC_OSLib-5_49'
-
- 02 Dec, 2003 1 commit
-
-
Ben Avison authored
Detail: * No longer uses aasm to build h.swis. * (Only) compatible with new C compilers: assumes const static data is placed in separate read-only areas, and suitable command-line switch is used to ensure that library static data is never placed in a zero- init area. * Stack extension code now thread-safe. * Heap thread-safety code (in clib) now uses SWP instruction test results from stack extension code (in kernel) - as a side effect, the exported symbol _swp_available now exists, if you need to use it elsewhere. * Slightly closer to having top-bit-set heap addresses working. Admin: Tested in a Tungsten build, and with Customer W's test suite. Version 5.48. Tagged as 'RISC_OSLib-5_48'
-
- 09 Oct, 2003 1 commit
-
-
Ben Avison authored
Detail: * Implemented the thread-safety mutex macros for the user mode heap. * Created ansilibm, a version of ansilib suitable for building modules. * Fixed an overestimation of the size of the workspace passed to SharedCLibrary_LibInitModule[APCS_32] by the stubs. * Fixed bug in SharedCLibrary_LibInitModule[APCS_32] regarding handling of non-reentrant modules - if module code was at a higher address than the module data, then all the intervening data would be pointlessly copied back over itself with no allowance for volatility. * Removed the bsearch source file, since it was only required for APCS-A which the library has not supported since the year 2000, and which the compiler is now no longer able to build. Admin: ansilibm builds working modules, but thread safety has not been extensively tested. Version 5.47. Tagged as 'RISC_OSLib-5_47'
-
- 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'
-