http://git.etherboot.org
/
people
/
xl0
/
syslinux-lua.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7504c1
)
Add transparent decompression support to elf.c32
author
H. Peter Anvin
<hpa@zytor.com>
Fri, 29 Feb 2008 19:59:49 +0000
(11:59 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Fri, 29 Feb 2008 19:59:49 +0000
(11:59 -0800)
Use zloadfile() to support file decompression in elf.c32.
com32/modules/elf.c
patch
|
blob
|
history
diff --git
a/com32/modules/elf.c
b/com32/modules/elf.c
index
772ee49
..
9e4a18c
100644
(file)
--- a/
com32/modules/elf.c
+++ b/
com32/modules/elf.c
@@
-281,7
+281,7
@@
int main(int argc, char *argv[])
return 1;
}
- if (loadfile(argv[1], &data, &data_len)) {
+ if (
z
loadfile(argv[1], &data, &data_len)) {
error("Unable to load file\n");
return 1;
}