/[cmucl]/src/lisp/elf.h
ViewVC logotype

Log of /src/lisp/elf.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.16 - (view) (annotate) - [select for diffs]
Wed Dec 22 20:17:24 2010 UTC (3 years, 3 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, snapshot-2011-01, snapshot-2011-02, snapshot-2011-03, snapshot-2011-04, snapshot-2011-06, snapshot-2011-07, snapshot-2011-09
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 , to selected 1.1.2.1
Update conditionals so we choose the correct compiler for Solaris/x86
(where we only support Sun C now).

Revision 1.13.2.1 - (view) (annotate) - [select for diffs]
Thu Sep 9 00:16:19 2010 UTC (3 years, 7 months ago) by rtoy
Branch: RELEASE-20B-BRANCH
CVS Tags: RELEASE_20b
Changes since 1.13: +2 -8 lines
Diff to previous 1.13 , to next main 1.16 , to selected 1.1.2.1
Merge changes from HEAD that allow the executable feature to work
again on FreeBSD.

Revision 1.15 - (view) (annotate) - [select for diffs]
Wed Sep 8 12:06:23 2010 UTC (3 years, 7 months ago) by rtoy
Branch: MAIN
CVS Tags: cross-sol-x86-2010-12-20, cross-sol-x86-base, cross-sol-x86-merged, cross-sparc-branch-base, snapshot-2010-11, snapshot-2010-12
Branch point for: cross-sol-x86-branch, cross-sparc-branch
Changes since 1.14: +3 -5 lines
Diff to previous 1.14 , to selected 1.1.2.1
Rename linker-x86.sh to linker.sh.

lisp/elf.h:
o Set LINKER_SCRIPT to linker.sh

tools/make-main-dist.sh:
o Don't copy linker-x86.sh to the distribution anymore.

tools/linker.sh:
o Copied contents of linker-x86.sh to here.

Revision 1.14 - (view) (annotate) - [select for diffs]
Wed Sep 8 03:28:08 2010 UTC (3 years, 7 months ago) by agoncharov
Branch: MAIN
Changes since 1.13: +1 -5 lines
Diff to previous 1.13 , to selected 1.1.2.1
EXECUTABLE seems to work on FreeBSD now. TODO: mv tools/linker-x86.sh tools/linker.sh

Revision 1.13 - (view) (annotate) - [select for diffs]
Sat Jul 31 01:07:15 2010 UTC (3 years, 8 months ago) by rtoy
Branch: MAIN
CVS Tags: release-20b-pre1, release-20b-pre2, snapshot-2010-08
Branch point for: RELEASE-20B-BRANCH
Changes since 1.12: +7 -2 lines
Diff to previous 1.12 , to selected 1.1.2.1
Update how executable images are done on Solaris to match Linux and
Darwin.

lisp/elf.h:
o Solaris can use linux-x86.sh too.  (Need to rename this someday!)

lisp/elf.c:
o Use same command line for sparc as for linux.

lisp/lisp.c:
o Setup up initial_function the same way as on linux.

tools/linker-x86.sh:
o Add -rdynamic or -Bdynamic as needed.
o Add support for Solaris using Sun C.

Revision 1.12 - (view) (annotate) - [select for diffs]
Sat Jul 31 00:03:23 2010 UTC (3 years, 8 months ago) by rtoy
Branch: MAIN
Changes since 1.11: +15 -6 lines
Diff to previous 1.11 , to selected 1.1.2.1
Some cleanup of the names of main functions for creating executable
images.

lisp/elf.c:
o Change write_elf_object, elf_cleanup, and elf_run_linker to
  write_space_object, obj_cleanup, and obj_run_linker.

lisp/elf.h:
o Update so that this can used for both elf and mach-o.  Not great,
  but I don't want to rename this file.

lisp/mach-o.c:
o Include elf.h
o Remove items that are defined in elf.h.
o Change function names from elf to mach_o.

lisp/save.c:
o Update names to new ones.

Revision 1.11 - (view) (annotate) - [select for diffs]
Thu Jul 29 04:34:10 2010 UTC (3 years, 8 months ago) by rtoy
Branch: MAIN
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 , to selected 1.1.2.1
Change how we build executables for Linux.  We no longer need the
hairy and fragile linker script.  Instead, we can use regular old gcc
to do what we need.

(Should also work for FreeBSD, but not yet implemented.)

lisp/elf.c:
o Include validate.h so we can get the starting addresses of the
  read-only, static, and dynamic spaces.
o Add special case for linux to run the linker script correctly.

lisp/elf.h:
o There's a separate linker script for Linux.

lisp/save.c:
o Temporarily don't run elf_cleanup so we can have easier
  testing/debugging.

tools/linker.sh:
o Don't need BIFLAG anymore.

tools/make-main-dist.sh:
o Install linker-x86.sh.

Revision 1.8.4.1.2.1 - (view) (annotate) - [select for diffs]
Wed Mar 18 15:37:29 2009 UTC (5 years, 1 month ago) by rtoy
Branch: unicode-utf16-extfmt-branch
CVS Tags: unicode-snapshot-2009-05, unicode-snapshot-2009-06, unicode-utf16-extfmt-2009-03-27, unicode-utf16-extfmt-2009-06-11
Changes since 1.8.4.1: +2 -2 lines
Diff to previous 1.8.4.1 , to next main 1.8.4.2 , to selected 1.1.2.1
Sync to utf16 branch, tag unicode-utf16-sync-label-2009-03-16.

Revision 1.8.4.2 - (view) (annotate) - [select for diffs]
Mon Mar 16 21:10:56 2009 UTC (5 years, 1 month ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-char-support-2009-03-25, unicode-utf16-char-support-2009-03-26, unicode-utf16-sync-label-2009-03-16
Changes since 1.8.4.1: +2 -2 lines
Diff to previous 1.8.4.1 , to branch point 1.8 , to next main 1.16 , to selected 1.1.2.1
Sync to CVS HEAD, tag label-2009-03-16.

But don't sync Config.FreeBSD_gencgc, Config.x86_freebsd,
FreeBSD-os.c, and FreeBSD-os.h.  Let Alex sync those later.

The result seems to work as expected on Solaris and x86/linux.
Darwin (ppc or x86) untested.

Revision 1.10 - (view) (annotate) - [select for diffs]
Tue Jan 20 03:58:11 2009 UTC (5 years, 2 months ago) by agoncharov
Branch: MAIN
CVS Tags: RELEASE_19f, RELEASE_20a, amd64-dd-start, intl-2-branch-base, intl-branch-2010-03-18-1300, intl-branch-base, intl-branch-working-2010-02-11-1000, intl-branch-working-2010-02-19-1000, label-2009-03-16, label-2009-03-25, merge-with-19f, merged-unicode-utf16-extfmt-2009-06-11, portable-clx-base, portable-clx-import-2009-06-16, post-merge-intl-branch, pre-merge-intl-branch, release-19f-base, release-19f-pre1, release-20a-base, release-20a-pre1, snapshot-2009-02, snapshot-2009-04, snapshot-2009-05, snapshot-2009-07, snapshot-2009-08, snapshot-2009-11, snapshot-2009-12, snapshot-2010-01, snapshot-2010-02, snapshot-2010-03, snapshot-2010-04, snapshot-2010-05, snapshot-2010-06, snapshot-2010-07, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base, unicode-string-buffer-base, unicode-string-buffer-impl-base
Branch point for: RELEASE-19F-BRANCH, RELEASE-20A-BRANCH, amd64-dd-branch, intl-2-branch, intl-branch, portable-clx-branch, sparc-tramp-assem-branch, unicode-string-buffer-branch, unicode-string-buffer-impl-branch
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 , to selected 1.1.2.1
Use 'const char *' instead of 'char *' where appropriate

Revision 1.8.4.1 - (view) (annotate) - [select for diffs]
Thu Jun 19 03:30:44 2008 UTC (5 years, 10 months ago) by rtoy
Branch: unicode-utf16-branch
CVS Tags: unicode-utf16-extfmts-pre-sync-2008-11, unicode-utf16-extfmts-sync-2008-12, unicode-utf16-sync-2008-07, unicode-utf16-sync-2008-09, unicode-utf16-sync-2008-11, unicode-utf16-sync-2008-12
Branch point for: unicode-utf16-extfmt-branch
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 , to selected 1.1.2.1
Merge changes from HEAD to the unicode-utf16 branch.

Revision 1.9 - (view) (annotate) - [select for diffs]
Fri May 16 13:30:22 2008 UTC (5 years, 11 months ago) by rswindells
Branch: MAIN
CVS Tags: merge-sse2-packed, snapshot-2008-06, snapshot-2008-07, snapshot-2008-08, snapshot-2008-09, snapshot-2008-10, snapshot-2008-11, snapshot-2008-12, snapshot-2009-01, sse2-base, sse2-checkpoint-2008-10-01, sse2-merge-with-2008-10, sse2-merge-with-2008-11, sse2-packed-2008-11-12, sse2-packed-base
Branch point for: sse2-branch, sse2-packed-branch
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 , to selected 1.1.2.1
Make it build again for NetBSD.

Revision 1.8 - (view) (annotate) - [select for diffs]
Tue Aug 14 15:57:47 2007 UTC (6 years, 8 months ago) by rtoy
Branch: MAIN
CVS Tags: pre-telent-clx, release-19d, release-19e, release-19e-base, release-19e-pre1, release-19e-pre2, snapshot-2007-09, snapshot-2007-10, snapshot-2007-11, snapshot-2007-12, snapshot-2008-01, snapshot-2008-02, snapshot-2008-03, snapshot-2008-04, snapshot-2008-05, unicode-utf16-base, unicode-utf16-string-support
Branch point for: release-19e-branch, unicode-utf16-branch
Changes since 1.7: +12 -1 lines
Diff to previous 1.7 , to selected 1.1.2.1
Add support for executable stuff using Sun C on sparc.  The executable
appears to be created successfully, and you can do things, but it is
not usable.

lisp/elf.h:
o Set C_COMPILER to either "cc" or "gcc".  We use gcc everywhere,
  except if the C compiler is Sun C on sparc.

lisp/elf.c:
o Print out C_COMPILER as the first arg to the linker script.

tools/linker.sh:
o Rearrange code so test for number of args is done first.
o Look at the first arg to determine the C compiler used.  If gcc, use
  the original code.  Add new code to support Sun C.

Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Jul 24 19:09:14 2007 UTC (6 years, 8 months ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2007-08
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 , to selected 1.1.2.1
Add initial support executables on Solaris with gcc.  Executables are
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.

Revision 1.6 - (view) (annotate) - [select for diffs]
Mon Jul 9 16:04:00 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
Changes since 1.5: +14 -1 lines
Diff to previous 1.5 , to selected 1.1.2.1
Fix typos, portability stuff (e.g. get rid of __FUNCTION__ which SunOS doesn't have.)

Revision 1.5 - (view) (annotate) - [select for diffs]
Sat Jul 7 16:15:37 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 , to selected 1.1.2.1
Get the name of the linker script straight.

Revision 1.4 - (view) (annotate) - [select for diffs]
Sat Jul 7 15:46:43 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 , to selected 1.1.2.1
Fix CVS id.

Revision 1.3 - (view) (annotate) - [select for diffs]
Sat Jul 7 15:46:24 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
Changes since 1.2: +6 -0 lines
Diff to previous 1.2 , to selected 1.1.2.1
Add "license" or lack thereof, CVS ID.

Revision 1.2 - (view) (annotate) - [select for diffs]
Sat Jul 7 15:41:20 2007 UTC (6 years, 9 months ago) by fgilham
Branch: MAIN
Changes since 1.1: +13 -0 lines
Diff to previous 1.1 , to selected 1.1.2.1
Add lisp executable code.

Revision 1.1.2.1 - (view) (annotate) - [selected]
Wed Sep 3 11:32:06 2003 UTC (10 years, 7 months ago) by gerd
Branch: lisp-executable
Changes since 1.1: +5 -0 lines
Diff to previous 1.1 , to next main 1.16
Fred Gilham's Lisp executable support for CMUCL.

Revision 1.1
Wed Sep 3 11:32:06 2003 UTC (10 years, 7 months ago) by gerd
Branch: MAIN
Branch point for: lisp-executable
FILE REMOVED
file elf.h was initially added on branch lisp-executable.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5