diff options
author | Andy Wingo <wingo@pobox.com> | 2012-06-01 21:33:46 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-06-22 13:40:50 +0200 |
commit | afc74c2920d2f8f8424db9d6f554a91866cbac01 (patch) | |
tree | 399212d59decf24bac2129a4600a0a11446d01cc /module/system/vm/objcode.scm | |
parent | 83e7c58408ad227b38cc8c2e0542a514ebcdc2c8 (diff) | |
download | guile-afc74c2920d2f8f8424db9d6f554a91866cbac01.tar.gz |
add ELF loader
* libguile/objcodes.h:
* libguile/objcodes.c (scm_load_thunk_from_file)
(scm_load_thunk_from_memory): New procedures.
* libguile/elf.h: Import from glibc. Not installed.
* libguile/Makefile.am: Adapt for elf.h.
* module/system/vm/objcode.scm: (load-thunk-from-file)
(load-thunk-from-memory): New exports.
Diffstat (limited to 'module/system/vm/objcode.scm')
-rw-r--r-- | module/system/vm/objcode.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/system/vm/objcode.scm b/module/system/vm/objcode.scm index 966f34585..3ad29880b 100644 --- a/module/system/vm/objcode.scm +++ b/module/system/vm/objcode.scm @@ -1,6 +1,6 @@ ;;; Guile VM object code -;; Copyright (C) 2001, 2010 Free Software Foundation, Inc. +;; Copyright (C) 2001, 2010, 2012 Free Software Foundation, Inc. ;;; This library is free software; you can redistribute it and/or ;;; modify it under the terms of the GNU Lesser General Public @@ -22,6 +22,7 @@ #:export (objcode? objcode-meta bytecode->objcode objcode->bytecode load-objcode write-objcode + load-thunk-from-file load-thunk-from-memory word-size byte-order)) (load-extension (string-append "libguile-" (effective-version)) |