1. 26 Nov, 2022 5 commits
  2. 14 Jul, 2018 1 commit
  3. 12 Apr, 2018 1 commit
  4. 06 Mar, 2018 1 commit
    • Ben Avison's avatar
      Tweak to cross-compilation scripts · 97eb566c
      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.
      97eb566c
  5. 25 Nov, 2014 1 commit
    • Robert Sprowson's avatar
      Makefile tweak · 67dfbcb4
      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'
      67dfbcb4
  6. 11 Nov, 2013 1 commit
    • Ben Avison's avatar
      Build fix for cross-compilation · d0e61281
      Ben Avison authored
      Detail:
        Changed path to Env directory, assuming source trees are no longer merged
      
      
      Version 2.05. Tagged as 'CLXLite-2_05'
      d0e61281
  7. 10 Aug, 2011 1 commit
    • Jeffrey Lee's avatar
      Fix broken wf_save() implementation · 617e9103
      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'
      617e9103
  8. 15 Apr, 2011 2 commits
  9. 14 Apr, 2011 1 commit
  10. 19 May, 2010 1 commit
    • Ben Avison's avatar
      Changes to facilitate platform independence. · 4ef2ba0f
      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'
      4ef2ba0f
  11. 12 Jun, 2009 1 commit
    • Ben Avison's avatar
      Fix bug in amu · 7eb673cc
      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'
      7eb673cc
  12. 08 Jun, 2009 1 commit
    • Ben Avison's avatar
      Partial release of CLX ("C Library eXtension") library · e9d5d23b
      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'
      e9d5d23b
  13. 12 Dec, 2003 1 commit
    • Ben Avison's avatar
      Various changes from Kevin. · ccabf7b2
      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'
      ccabf7b2
  14. 19 Mar, 2001 1 commit
    • Stewart Brodie's avatar
      err functions can handle floating point if FPEmulator is present. · 19538e6b
      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'
      19538e6b
  15. 04 Dec, 2000 1 commit
    • John Beranek's avatar
      Build fixes · 013ef435
      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'
      013ef435
  16. 13 Nov, 2000 1 commit
    • Stewart Brodie's avatar
      New API in hash table code. · d5137574
      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'
      d5137574
  17. 30 Oct, 2000 1 commit
    • Stewart Brodie's avatar
      New API added to enable in-memory SYMDEFS files to be processed. · 63da5348
      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'
      63da5348
  18. 02 Oct, 2000 1 commit
    • Stewart Brodie's avatar
      Added elf.h, updated some definitions in aof.h · d25eee15
      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'
      d25eee15
  19. 27 Sep, 2000 1 commit
    • Stewart Brodie's avatar
      Added pathmacro source. · d73048a4
      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'
      d73048a4
  20. 15 Sep, 2000 1 commit
    • Stewart Brodie's avatar
      Minor change to symdefs file handler. · 76970667
      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'
      76970667
  21. 14 Sep, 2000 1 commit
    • Stewart Brodie's avatar
      Added symdef file support. · 12416156
      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'
      12416156
  22. 30 Nov, 1999 1 commit
    • Stewart Brodie's avatar
      Added demangler code to the library. · 2e6e8c6c
      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'
      2e6e8c6c
  23. 16 Nov, 1999 2 commits
    • Ben Laughton's avatar
      Added extra components from SrcFiler version needed to build find. · a23880a3
      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'
      a23880a3
    • Stewart Brodie's avatar
      dir.c updated to expect up to 256 characters in object leafnames instead of... · b0298667
      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'
      b0298667
  24. 11 Nov, 1999 1 commit
    • John Beranek's avatar
      Fixed build error · c88f1922
      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'
      c88f1922
  25. 10 Nov, 1999 1 commit
    • Neil Bingham's avatar
      Import of directory enumeration code from Aquarius CLX. · 4a9d474c
      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'
      4a9d474c
  26. 08 Oct, 1999 1 commit
    • Stewart Brodie's avatar
      filestamp functions for UNIX added. · 854c17e5
      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'
      854c17e5
  27. 20 May, 1999 1 commit
  28. 22 Feb, 1999 1 commit
  29. 11 Nov, 1998 1 commit
  30. 17 Dec, 1997 1 commit