- 26 Nov, 2022 5 commits
-
-
Theo Markettos authored
Version 2.08. Tagged as 'CLXLite-2_08'
-
Theo Markettos authored
-
Theo Markettos authored
When netfix_done() is #defined to nothing, it leaves behind empty if statements. Define it to {} so the if statements are correctly terminated.
-
Theo Markettos authored
-
Theo Markettos authored
Previously these functions were no-ops. Replaced them with a POSIX implementation.
-
- 14 Jul, 2018 1 commit
-
-
Robert Sprowson authored
Don't read from dh until after it is validated. Found by cppcheck static analysis. Version 2.07. Tagged as 'CLXLite-2_07'
-
- 12 Apr, 2018 1 commit
-
-
Ben Avison authored
-
- 06 Mar, 2018 1 commit
-
-
Ben Avison authored
Detail: Now uses environment variable RISCOS to point to root of source tree. This makes it easier to keep the two forks of each script in line when cloning the file for a component at a different directory depth, and also allows it to be overridden from the command line.
-
- 25 Nov, 2014 1 commit
-
-
Robert Sprowson authored
CLibrary now includes the others itself so we don't have to. Resolve a couple of trivial warnings in the code. Build, but not tested. Version 2.06. Tagged as 'CLXLite-2_06'
-
- 11 Nov, 2013 1 commit
-
-
Ben Avison authored
Detail: Changed path to Env directory, assuming source trees are no longer merged Version 2.05. Tagged as 'CLXLite-2_05'
-
- 10 Aug, 2011 1 commit
-
-
Jeffrey Lee authored
Detail: c/wholefls - wf_save() was passing (start,length) to OS_File instead of (start,end), causing files to either be truncated or not saved at all Admin: modsqz now works properly when linked against CLXLite Fixes bug #297, with thanks to hilltop Version 2.04. Tagged as 'CLXLite-2_04'
-
- 15 Apr, 2011 2 commits
-
-
Steve Revill authored
Put the linefeed in some error messages in the wrong place. It's late.
-
Steve Revill authored
Cocked-up the placement of an if() statement. Won't affect binary on RISC OS but would result in build errors on other systems.
-
- 14 Apr, 2011 1 commit
-
-
Steve Revill authored
Version 2.03. Tagged as 'CLXLite-2_03'
-
- 19 May, 2010 1 commit
-
-
Ben Avison authored
Detail: * Added shell-script make wrapper * Removed Norcroft-specific options from Makefile * Added GCC equivalents of inline assembler * Force use of our kernel.h with GCC (its own one is incomplete) * Workarounds to allow full-fat CLX library to use shared makefiles Admin: Tested by rebuilding the DDE tools Version 2.02. Tagged as 'CLXLite-2_02'
-
- 12 Jun, 2009 1 commit
-
-
Ben Avison authored
Detail: Testing whether !Depend had been updated was unreliable because filestamp_get() and filestamp_now() round in opposite directions. Since filestamp_now() was only used by amu, I've changed it to match filestamp_get(). Admin: Tested using amu - requires additional changes to amu itself. Version 2.01. Tagged as 'CLXLite-2_01'
-
- 08 Jun, 2009 1 commit
-
-
Ben Avison authored
Detail: The original CLX library was an ad-hoc collection of functions shared between the sources for multiple tools. Ownership of the original source files is now spread between Castle, ARM, Codemist, AT&T and Alcatel, making release a licensing nightmare. However, without at least some of these source files it is impossible to build various RISC OS specific tools, so making it of little use to release the source code thereof. To facilitate the release of the most unique tools, we have therefore taken the following steps: * Evaluated which source files are untainted by non-Castle ownership and released them complete with CVS history. This applies to files named: dir elf filestamp hash host libflfmt mapping maxalloc pathmacro re symdefs wildcard * Done a cleanroom rewrite of other particularly critical files: bytesex err prgname wholefls * Withheld the remaining source files from release * Written a new set of build scripts With this cut-down version of CLX, which we're calling CLXLite to avoid confusion internally within ROOL (we still need the complete version in order to build the C tool suite) it should be possible to release: chmod diff find modsqz romlinker squeeze srcbuild unmodsqz xpand Admin: Builds all the above tools, but they are currently untested Version 2.00. Tagged as 'CLXLite-2_00'
-
- 12 Dec, 2003 1 commit
-
-
Ben Avison authored
Detail: Reinstatement of old CLX library files libflfmt and maxalloc Ensures that at least one space follows even really long diassembled opcodes Bugfix to floating point rounding Various extra defines and structs in h.asdfmt and h.ieeeflt Admin: Presumably used for C 5.53 / 5.54 releases. Version 1.32. Tagged as 'CLX-1_32'
-
- 19 Mar, 2001 1 commit
-
-
Stewart Brodie authored
ELF header file updated to reflect revision B-01 of ARM's document. ELF hash function added. Fixed a missing return value in wf_rename. Detail: The err_* functions could not previously handle floating point values being passed in the variadic arguments. This restriction is now removed from the library and responsibility placed on the caller to ensure that floating point hardware/emulator is present if using FP arguments to these functions. ARM have released SWS ESPC 0003 B-01 - the ARM ELF specification. The header file elf.h has been updated with the new relocation types as defined in that document, except for R_ARM_ALU_PCREL_23_15 which has been entered as R_ARM_ALU_PCREL_23_16 as this is an obvious mistake in the documentation. Added a new source file (elf.c) which contains the ELF hashing function. Admin: Built. Required by link 5.26 and later (probably) Version 1.27. Tagged as 'CLX-1_27'
-
- 04 Dec, 2000 1 commit
-
-
John Beranek authored
Detail: Build fixes for Unix: * We now use -I{RISCOS_CLIB_HDRS} -I- to ensure that RISCOS C library headers aren't used in preference to system headers. * INSTALL(1) now used to install the clx library. This is available on both Solaris and Linux systems. Admin: Built on Solaris and on a Linux glibc 2.1.3 system. Version 1.25. Tagged as 'CLX-1_25'
-
- 13 Nov, 2000 1 commit
-
-
Stewart Brodie authored
Detail: hash_key returns the key used for a given HashId. This makes it easy to make the associated value of a hash entry be the key itself. Admin: Tested. Version 1.23. Tagged as 'CLX-1_23'
-
- 30 Oct, 2000 1 commit
-
-
Stewart Brodie authored
Detail: The linker usually caches object files internally. This means that you cannot use SYMDEFS files embedded inside other files (e.g. ALF files). The new API allows an in-memory file to be processed. Several APIs changed to allow a void* parameter to be specified for passing to the callback function. Admin: Required by link 5.22 and later. Tested in conjunction with link 5.22. Version 1.22. Tagged as 'CLX-1_22'
-
- 02 Oct, 2000 1 commit
-
-
Stewart Brodie authored
Added the thumb disassembler and symbol mapping. Added more functionality to bytesex and symdefs. Detail: The symdefs library code can now identify a file without loading it into memory in its entirety - this saves the linker a lot of grief. A new API is available to ask CLX whether the file is a symdefs file or not and defer loading of the symbols until a later date (during the load1 phase where the linker is concerned). elf.h makes all the definitions per the ARM ELF specification. The linker requires these definitions (even if TARGET_HAS_ELF is not defined). Some more fixes to the disassembler. bytesex has a new API: bytesex_reverse_auto(flag), where flag is either bytesex_WANT_LITTLE_ENDIAN or bytesex_WANT_BIG_ENDIAN. This relieves tools of the need to mess around trying to work out the endianness of the host to call bytesex_reverse or not. (bytesex_reversing can be called to find out if reversing is happening or not after the call to bytesex_reverse_auto.) A new macro has been added to aof.h: rel_II to construct the II field of a type 2 AOF relocation. Admin: Required by link 5.19 and later. Required by objasm 3.19 and later. Version 1.20. Tagged as 'CLX-1_20'
-
- 27 Sep, 2000 1 commit
-
-
Stewart Brodie authored
Added hash_destroy. Detail: The pathmacro source file exports a single function for resolving RISC OS pathnames on whatever the host system is. For example, this means that provided the environment variable HdrPATH is set to point to the appropriate directories, then "Hdr:RISCOS" will be resolved to the full pathname that can be passed to fopen et al. hash_destroy function added to enable hash tables to be destroyed. Each associate value is passed to a supplied callback function to permit each value to be freed. Usually this will be NULL (no action) or the address of the library function free unless a private allocator has been used by the caller. Admin: Tested on RISC OS and Solaris. Version 1.19. Tagged as 'CLX-1_19'
-
- 15 Sep, 2000 1 commit
-
-
Stewart Brodie authored
Detail: Only symbols that have their values updated are output during a call to sf_rewrite. Admin: Behaviour wrt deletion of the restrict file and its replacement with the real output file needs to be fixed. Tested with test program and development version of the linker. Version 1.17. Tagged as 'CLX-1_17'
-
- 14 Sep, 2000 1 commit
-
-
Stewart Brodie authored
Detail: The symdefs file format is now supported by CLX. Functions are exported for loading symbols tables, updating symbol values and regenerating output files as per the ARM documentation. Admin: Tested with a small test program. Tested on Solarix x86 and RISC OS. Version 1.16. Tagged as 'CLX-1_16'
-
- 30 Nov, 1999 1 commit
-
-
Stewart Brodie authored
Detail: dem.c and dem.h have been added, so they can now be removed from all the tools it infests. filestamp.c modified to build on Solaris as well as RISC OS. Admin: Exports VersionNum as CLXVersion to prevent search path problems in components which put C:CLX on the include path. RISC OS build tested. Solaris build tested. Version 1.15. Tagged as 'CLX-1_15'
-
- 16 Nov, 1999 2 commits
-
-
Ben Laughton authored
Detail: Added files wildcard.c and wildcard.h from SrcFiler version. Debug code modified slightly to use #ifdef LIB_DEBUGGING instead of #if LIB_DEBUGGING and #include "clxdebug.h", to be consistent with other code in the CVS version. Makefile modified to compile this code and export the header. Admin: Compiled and used to build find. Version 1.12. Tagged as 'CLX-1_12'
-
Stewart Brodie authored
dir.c updated to expect up to 256 characters in object leafnames instead of just 16. Fixes buffer overflows in !Diff. Detail: Changed size of names to 256, reduced number of entries read at once to 8, so dynamic memory usage per directory read increases from around 16*16 bytes to 256*8. Admin: Built with new version of diff for testing. Version 1.11. Tagged as 'CLX-1_11'
-
- 11 Nov, 1999 1 commit
-
-
John Beranek authored
Detail: filestamp.c wasn't building (at least on 1 platform), adding a #include <time.h> fixed it. Unix makefile now also cleans up the *.[ch] symlinks on clean: target now. Admin: Built on Linux x86 platform. Version 1.10. Tagged as 'CLX-1_10'
-
- 10 Nov, 1999 1 commit
-
-
Neil Bingham authored
Detail: * Added dir.c and dir.h from the original CLX library. Minor change required to wholefls.c & .h to get this to compile. Two macros previously privately defined in the wholefls.c are now exported in the header. * Added StripDepnd call to !MkClean. Admin: * Built on RiscPC. Dir enumeration code tested on Acorn Diff. Version 1.09. Tagged as 'CLX-1_09'
-
- 08 Oct, 1999 1 commit
-
-
Stewart Brodie authored
host functions for UNIX corrected. Detail: host.c will now tell UNIX targets that: The command to change directory is "cd" and not "dir" The directory separator is / and not . Home directory synonym is ~ and not & filestamp.c functions for UNIX added (were never there!) filestamp_now() returns result of time() C library call filestamp_get(file) returns st_mtime from stat(file) result filestamp_mk_execable does nothing. filestamp_ignore_centiseconds does nothing. Admin: Tested on Solaris (x86 and SPARC) and RISC OS. Required by Solaris builds of modgen (1.01 and later) Required by other UNIX builds which rely on host bits being right! This implementation of filestamp_* functions will have severe difficulties functioning in an environment which utilises 64-bit time_t. Version 1.08. Tagged as 'CLX-1_08'
-
- 20 May, 1999 1 commit
-
-
Stewart Brodie authored
Version 1.06. Tagged as 'CLX-1_06'
-
- 22 Feb, 1999 1 commit
-
-
Simon Middleton authored
Added missing source files to ccsolaris/Makefile. Converted some of the source files over to ANSI definitions. Fixed wholefls so it actually compiles on RISC OS. Version 1.05. Tagged as 'CLX-1_05'
-
- 11 Nov, 1998 1 commit
-
-
Stewart Brodie authored
* Makefile uses -ff to strip function names from the code areas. Version 1.04. Tagged as 'CLX-1_04'
-
- 17 Dec, 1997 1 commit
-
-
Julian Smith authored
-