1. 25 Mar, 2020 1 commit
  2. 11 Oct, 2015 1 commit
    • Raymond Toy's avatar
      Support asdf's static-image-op. · 43e24775
      Raymond Toy authored
      * src/lisp/GNUMakefile
          * Don't add exec-final.o to lisp.a.  (But still remove exec-init.o
            from it.)
      * src/tools/linker.sh
          * When linking the executable, need to link exec-final.o too.
      * bin/make-main-dist.sh
          * Need to install exec-init.o and exec-final.o.  exec-init.o is
            needed to link a normal lisp; exec-final.o is used for the
            executable image.
          * Fix modes on some installed files.  exec-init.o, exec-final.o,
            and lisp.a don't need to be executable.
      43e24775
  3. 05 Oct, 2015 1 commit
    • Raymond Toy's avatar
      Support asdf's static-image-op. · 20abbd7c
      Raymond Toy authored
      * src/lisp/GNUMakefile
          * Don't add exec-final.o to lisp.a.  (But still remove exec-init.o
            from it.)
      * src/tools/linker.sh
          * When linking the executable, need to link exec-final.o too.
      * bin/make-main-dist.sh
          * Need to install exec-init.o and exec-final.o.  exec-init.o is
            needed to link a normal lisp; exec-final.o is used for the
            executable image.
          * Fix modes on some installed files.  exec-init.o, exec-final.o,
            and lisp.a don't need to be executable.
      20abbd7c
  4. 03 Jan, 2015 1 commit
  5. 01 Dec, 2014 1 commit
  6. 26 Nov, 2014 1 commit
  7. 28 Sep, 2014 1 commit
  8. 25 Sep, 2014 1 commit
  9. 20 Sep, 2014 1 commit
    • Raymond Toy's avatar
      Add fdlibm's log10. · 24511623
      Raymond Toy authored
       * src/code/irrat.lisp:
         * Define %log10 to use fdlibm's log10
       * src/lisp/GNUmakefile
         * Compile e_log10
       * tests/trig.lisp
         * Add tests for %log10.
      24511623
  10. 12 Sep, 2014 2 commits
    • Raymond Toy's avatar
      Remove the NetBSD setexception changes on the master branch. This is · 13bd32f6
      Raymond Toy authored
      only for the upcoming release.
      13bd32f6
    • Raymond Toy's avatar
      Support FP exceptions on NetBSD without feraiseexcept. · c0428524
      Raymond Toy authored
      Not quite fully working on NetBSD, but using this approach on Darwin
      does the right thing and all the tests pass. (Could these failures be
      due to NetBSD not compiling with just sse2 and thus uses x87 for the
      operations?)
      
       * setexception.c:
         * Add support for NetBSD. Instead of using feraiseexcept, try to
           generate the appropriate operations to generate the desired
           exceptions.
       * double-values.c:
         * Helper functions for setexception to return appropriate float
           values. These are in a different file so that the compiler can't
           optimize the values away when used in fdlibm_setexceptions.
       * GNUmakefile:
         * Compue double-values.c everywhere. Should be harmless since only
           NetBSD uses these functions.
      c0428524
  11. 20 Aug, 2014 1 commit
    • Raymond Toy's avatar
      Make sure floating-point exceptions are signaled. · 258101b2
      Raymond Toy authored
      The compiler sometimes constant folds operations so that
      floating-point exceptions are not signaled.  However, lisp and other
      applications (maxima) currently expects these exceptions to be
      signaled.  Make this happen by using feraiseexcept to force these
      signals when they are enabled.  If feraiseexcept does not raise an
      exception (because it is masked), we return the appropriate value.
      
      Only a few files have been updated to support this. More work needed.
      
       * src/lisp/setexception.c:
         * New file. This is used by the routines to signal an appropriate
           exception or return the appropriate value. Uses feraiseexcept to
           do this, which should be available on all supported platforms.
       * src/lisp/GNUmakefile:
         * Add setexception.c to list of files to compile and link into
           lisp.
       * src/lisp/e_cosh.c:
         * Update to use the new routine.to signal exceptions.
       * src/lisp/e_sinh.c:
         * Update to use the new routine.to signal exceptions.
       * tests/trig.lisp:
         * Add tests to make sure exceptions are thrown for cosh and sinh. 
         * Add tests to make sure that the correct value is returned when
           the floating point exception is masked.
      258101b2
  12. 03 Aug, 2014 1 commit
    • Raymond Toy's avatar
      Clean up config files. · b19192f7
      Raymond Toy authored
       * GNUMakefile:
         * List all of the fdlibm files here instead of the individual
           configs because we use fdlibm everywhere now.
       * Config.x86_common:
         * Remove e_rem_pio2 and k_rem_pio2 which is in GNUMakefile now.
       * Config.x86_darwin:
         * Remove all of the fdlibm files since they're in GNUMakefile now.
       * Config.x86_linux:
         * Remove all of the fdlibm files since they're in GNUMakefile now.
      b19192f7
  13. 05 May, 2013 1 commit
    • Raymond Toy's avatar
      Clean up DEPENDS · b9cf3661
      Raymond Toy authored
       * GNUmakefile
         * Replace $(DEPENDS) with $(CC)
       * Config.x86_common
         * Set DEPENDS_FLAG to -MM
      b9cf3661
  14. 05 Feb, 2012 1 commit
  15. 04 Nov, 2011 1 commit
  16. 14 Oct, 2010 1 commit
    • rtoy's avatar
      tools/build.sh: · 9073131c
      rtoy authored
      o Add -U option.  This causes the updated translations to overwrite
        the *.po files in source tree.  Without -U, the diff of the changes
        are printed, as before.  The -U option is useful to prepare the po
        files for checking in to the CVS repository.
      
      lisp/GNUmakefile:
      o Put back the original translations target and rule, but rename the
        target to tranlations-update.  This allows developers to overwrite
        the translations in the source tree, ready for analysis or checkin,
        as appropriate.
      9073131c
  17. 16 Sep, 2010 1 commit
    • rtoy's avatar
      lisp/GNUmakefile: · 96ee2673
      rtoy authored
      o Don't overwrite the CVS po file with the merged version; the merged
        version is written to the build directory.
      o The mo file is created from the merged version in the build
        directory.
      o Compare the newly merged version with the original CVS version and
        print a message if they are different.  (Sort the files first to
        remove any issues with order of the various fields.  It is known
        that the versions of msgmerge on FreeBSD and Mac OS X will put the
        Language line in different places.
      
      tools/make-extra-dist.sh:
      o Be sure to install the po file from the build directory and not the
        source directory.  (But do we really need to distribute the po
        files?)
      96ee2673
  18. 29 Jul, 2010 2 commits
    • rtoy's avatar
      Config.x86_linux: · 8760ca06
      rtoy authored
      o Define EXEC_FINAL_OBJ for linux, just like we did for Solaris so
        that we have a nice known good address and value for
        builtin_image_flag.
      
      GNUmakefile:
      o If EXEC_FINAL_OBJ has a value, remove exec-init.o from the library
        and add exec-final.o.  This makes it independent of the
        architecture.
      8760ca06
    • rtoy's avatar
      Change how Solaris executables set up builtin_image_flag. Instead of · a02cb5b1
      rtoy authored
      having the address of builtin_image_flag set to some (random) address
      of mapped memory that is non-zero, we add a special file to lisp.a
      that defines builtin_image_flag to 1.
      
      lisp/Config.sparc_common:
      o Define EXEC_FINAL_OBJ
      
      lisp/GNUmakefile:
      o Make lisp.a depend on EXEC_FINAL_OBJ
      o On Solaris, add EXEC_FINAL_OBJ to lisp.a.
      
      tools/SunOS-cmucl-linker-script:
      o Remove the line setting the address of builtin_image_flag.
      
      tools/linker.sh:
      o For Solaris, we don't need to define BIFLAG; the builtin_image_flag
        is automatically set correctly by linking in lisp.a
      a02cb5b1
  19. 12 Jul, 2010 1 commit
    • rtoy's avatar
      Only update translations on the last build. · 143ddce4
      rtoy authored
      lisp/GNUmakefile:
      o Change "all" target to build just lisp.nm.  Don't also build the
        translations target.
      
      tools/build.sh:
      o Only make translations for the last build.
      143ddce4
  20. 19 Mar, 2010 1 commit
  21. 20 Jan, 2009 1 commit
  22. 11 Jan, 2009 1 commit
    • rtoy's avatar
      Config.x86_common: · de39fd0a
      rtoy authored
      o Use += to append to variables instead of setting them.
      o Add common OS_SRC files.
      o Move rule for building e_rem_pio2.c to here.  Add CPPFLAGS too.
      
      Config.x86_common:
      o Remove common files from OS_SRC.
      o Remove rele for e_rem_pio2.c
      
      Config.x86_darwin:
      o Update to use Config.x86_common.
      
      GNUmakefile:
      o Use CPPFLAGS when building version.o
      de39fd0a
  23. 27 Dec, 2008 1 commit
    • rtoy's avatar
      Apply patch from Stelian Ionescu on cmucl-imp, 2008/12/24 to allow · 03cd24a9
      rtoy authored
      custom CFLAGS, CC, and LDFLAGS.  Slightly modified to move -m32 from
      CC to RUNTIME.
      
      Cleaned some other items for Linux.
      
      lisp/Config.linux_gencgc:
      o Define CC only if not already defined.
      o Remove -m32 flag from CC and put it in RUNTIME.
      o Incrementally add to RUNTIME, removing the LINKAGE, GENCGC, and SSE2
        variables.
      o Add -m32 flag to OS_LINK_FLAGS
      
      lisp/GNUmakefile:
      o Define CC only if not already defined.  (Do this after loading
        Config).
      
      motif/server/Config.x86:
      o Allow custom LDFLAGS and CFLAGS when building the motif server.
      03cd24a9
  24. 12 Sep, 2008 1 commit
  25. 05 Sep, 2008 1 commit
  26. 18 Jan, 2008 2 commits
    • rtoy's avatar
      Move the rules for e_rem_pio2.c and k_rem_pio2.c from GNUmakefile to · c7582f44
      rtoy authored
      Config.linux_gencgc.
      
      This only appears to be an issue on Linux.  FreeBSD and Darwin are
      ok.  And it depends on the compiler. gcc 4.2.1 produces bad results,
      but gcc 3.4.6 is ok.  Could be an aliasing issue.  So use -O1
      everywhere.  -ffloat-store doesn't appear to matter so remove that
      too.
      c7582f44
    • rtoy's avatar
      Compile e_rem_pio2.c and k_rem_pio2.c with -ffloat-store on those · 1880c4a3
      rtoy authored
      platforms that need them.  This is to make sure double-float precision
      is used throughout instead of extended precision, which will cause bad
      answers.
      
      Linux also appears to need -O1 instead of -O2, so use -O1 everywhere.
      (Should this be changed?)
      1880c4a3
  27. 21 Aug, 2007 1 commit
  28. 24 Jul, 2007 1 commit
    • rtoy's avatar
      Add initial support executables on Solaris with gcc. Executables are · 9072cd2c
      rtoy authored
      created and will run, but you can't load new files.  Still needs work.
      
      src/exec-init.c:
      o New file that defines builtin_image_flag and initial_function_addr,
        instead of being defined in lisp.c
      
      code/sunos-os.lisp:
      o Register the :executable feature if needed.
      
      lisp/GNUmakefile:
      o Add exec-init.c to list of src files.
      o Remove exec-init.o from lisp.a when building on Solaris.
      
      lisp/elf.c:
      o Port the elf code to Solaris.
        - Basically set up the correct values for the elf header and
          sections.
        - The ELF core sections on Solaris don't have valid addresses so we
          explicitly set them when mapping the core sections.
      
      lisp/elf.h
      o Use SOLARIS instead of sparc.
      
      lisp/lisp.c:
      o builtin_image_flag and initial_function_addr moved to exec-init.c.
      
      tools/linker.sh:
      o Support Solaris
      
      tools/make-main-dist.sh:
      o Support Solaris
      
      tools/SunOS-cmucl-linker-script:
      o New file for SunOS executable.
      9072cd2c
  29. 07 Jul, 2007 1 commit
  30. 06 Nov, 2006 1 commit
  31. 20 Aug, 2003 1 commit
  32. 30 May, 2003 1 commit
  33. 03 Mar, 2003 1 commit
  34. 02 Mar, 2003 1 commit
  35. 01 Oct, 2002 1 commit
  36. 27 Aug, 2002 1 commit
    • moore's avatar
      · bf84be07
      moore authored
      On x86 FreeBSD and Linux, change the way foreign symbol addresses are resolved.
      They now go through a table -- effectively a new space in the core file.
      Function references are resolved lazily, data references are resolved on startup
      and when a .so is loaded.  The end result is that cores can be dumped that
      contain references to symbols in shared libraries.  Also, the dependence of the core on addresses in the Lisp runtime is broken.
      
      The linkage table feature is controlled by :linkage-table and LINKAGE_TABLE in C
      runtime.  Several foreign symbols are now Lisp static symbols, so a cross
      compile is required whether or not the new stuff is used.  I've checked in
      boot4-cross-foreign-linkage.lisp that builds the compiler for linkage table; do whatever you usually do for the non-linkage table case:)  Seriously, lets start
      a discussion on standardizing "cross compilation," not to mention the general
      build procedure.
      bf84be07
  37. 06 Dec, 2001 1 commit