]> git.wh0rd.org Git - elf2flt.git/commit
This patch allows elf2flt/flthdr's compression options to work in a wider
authorDavid McCullough <davidm@snapgear.com>
Wed, 27 Feb 2008 11:41:32 +0000 (11:41 +0000)
committerDavid McCullough <davidm@snapgear.com>
Wed, 27 Feb 2008 11:41:32 +0000 (11:41 +0000)
commit76e3e1d4d31a49e85b83bf15a8385da5df1d11f3
tree5700d371332c62d4740881d08b770a24569596c7
parent73ecc35556dfc457cb620e53f8f28c84f69f5c9b
This patch allows elf2flt/flthdr's compression options to work in a wider
variety of environments (e.g. under MinGW/Win32), by linking with zlib
rather than by using external gzip/gunzip executables. The cp binary
isn't used any more either, and libiberty's make_temp_file() is used
instead of mkstemp() as a more portable way of creating a temporary file.

Also the compression logic is made somewhat clearer, IMO.

Signed-off-by: Julian Brown <julian@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Makefile.in
compress.c [new file with mode: 0644]
compress.h [new file with mode: 0644]
configure.in
elf2flt.c
flthdr.c