ViewVC logotype

Log of /src/lisp/elf.h

Parent Directory Parent Directory | Revision Log Revision Log

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

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

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
Update how executable images are done on Solaris to match Linux and

o Solaris can use linux-x86.sh too.  (Need to rename this someday!)

o Use same command line for sparc as for linux.

o Setup up initial_function the same way as on linux.

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
Some cleanup of the names of main functions for creating executable

o Change write_elf_object, elf_cleanup, and elf_run_linker to
  write_space_object, obj_cleanup, and obj_run_linker.

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

o Include elf.h
o Remove items that are defined in elf.h.
o Change function names from elf to mach_o.

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
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.)

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.

o There's a separate linker script for Linux.

o Temporarily don't run elf_cleanup so we can have easier

o Don't need BIFLAG anymore.

o Install linker-x86.sh.

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
Use 'const char *' instead of 'char *' where appropriate

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
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
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.

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

o Print out C_COMPILER as the first arg to the linker script.

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
Add initial support executables on Solaris with gcc.  Executables are
created and will run, but you can't load new files.  Still needs work.

o New file that defines builtin_image_flag and initial_function_addr,
  instead of being defined in lisp.c

o Register the :executable feature if needed.

o Add exec-init.c to list of src files.
o Remove exec-init.o from lisp.a when building on Solaris.

o Port the elf code to Solaris.
  - Basically set up the correct values for the elf header and
  - The ELF core sections on Solaris don't have valid addresses so we
    explicitly set them when mapping the core sections.

o Use SOLARIS instead of sparc.

o builtin_image_flag and initial_function_addr moved to exec-init.c.

o Support Solaris

o Support Solaris

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
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
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
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
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
Add lisp executable code.

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 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