mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 06:50:31 +02:00
elf: Add missing argument in 'elf-segment'.
* module/system/vm/elf.scm (elf-segment): Add missing argument N.
This commit is contained in:
parent
fe7ecee820
commit
dfa11aa3f6
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; Guile ELF reader and writer
|
;;; Guile ELF reader and writer
|
||||||
|
|
||||||
;; Copyright (C) 2011, 2012, 2013, 2014 Free Software Foundation, Inc.
|
;; Copyright (C) 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
;;;; This library is free software; you can redistribute it and/or
|
;;;; This library is free software; you can redistribute it and/or
|
||||||
;;;; modify it under the terms of the GNU Lesser General Public
|
;;;; modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -567,6 +567,7 @@
|
||||||
((4) parse-elf32-program-header)
|
((4) parse-elf32-program-header)
|
||||||
((8) parse-elf64-program-header)
|
((8) parse-elf64-program-header)
|
||||||
(else (error "unhandled pointer size")))
|
(else (error "unhandled pointer size")))
|
||||||
|
n
|
||||||
(elf-bytes elf)
|
(elf-bytes elf)
|
||||||
(+ (elf-phoff elf) (* n (elf-phentsize elf)))
|
(+ (elf-phoff elf) (* n (elf-phentsize elf)))
|
||||||
(elf-byte-order elf)))
|
(elf-byte-order elf)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue