diff --git a/NEWS b/NEWS index 82e186e0..c111e50e 100644 --- a/NEWS +++ b/NEWS @@ -4,7 +4,9 @@ User visible changes for UPX Changes in 2.90 (xx Oct 2006): * vmlinuz/386: fixed zlib uncompression problem on dos - * new executable format BSD/elf386 supports FreeBSD, NetBSD, OpenBSD [how?] + * new executable format BSD/elf386 supports FreeBSD, NetBSD, OpenBSD + via auto-detection of PT_NOTE or EI_OSABI + * linux/elf386, linux/ElfAMD remember /proc/self/exe in environment * lzma algorithm support (--lzma; --brute [?]) for most of the 32-bit and 64-bit file formats * arm/pe: all the NRV compression methods are supported diff --git a/doc/elf-to-mem.txt b/doc/elf-to-mem.txt index 42137350..58af61d2 100644 --- a/doc/elf-to-mem.txt +++ b/doc/elf-to-mem.txt @@ -74,3 +74,8 @@ for at least all Linux 2.6, 2.4, and 2.2 kernels. The pathname is not without affecting the pathname), but the pathname does provide some information. The pathname may be relative to the working directory, so look before any chdir(). + +The Elf formats for Linux add an environment variable named " " [three +spaces] which saves the results of readlink("/proc/self/exe",,) before +the runtime stub unmaps all its pages. As of 2006-10-03 this works +for linux/elf386 and linux/ElfAMD.