elf: only open file for reading

db4
Björn Lindqvist 2014-08-17 20:02:30 +02:00 committed by Doug Coleman
parent b5147aa549
commit 4f1762d121
1 changed files with 3 additions and 3 deletions

View File

@ -624,4 +624,4 @@ M:: segment sections ( segment -- sections )
: with-mapped-elf ( path quot -- ) : with-mapped-elf ( path quot -- )
'[ '[
address>> <elf> @ address>> <elf> @
] with-mapped-file ; inline ] with-mapped-file-reader ; inline