lfanew (20230825-build20230825-3~@distro@) @distro@; urgency=medium

  * lfanew.c: handle PE files output by upx & llvm-objcopy.

 -- TK Chia <tkchia@users.noreply.github.com>  Fri, 25 Aug 2023 17:08:36 +0000

lfanew (20230821-build20230821-1~@distro@) @distro@; urgency=medium

  * Correct debian/copyright metadata.

 -- TK Chia <tkchia@users.noreply.github.com>  Mon, 21 Aug 2023 22:00:56 +0000

lfanew (20230820-build20230820-3~@distro@) @distro@; urgency=medium

  * lfanew.c: allow PE SizeOfHeaders to exceed actual headers' size.  Warn
    about this condition.
  * Implement a scandir (...) function in <lfanew/dirent.h>.

 -- TK Chia <tkchia@users.noreply.github.com>  Sun, 20 Aug 2023 19:16:27 +0000

lfanew (20230814-build20230814-1~@distro@) @distro@; urgency=medium

  * <nexgen/mzendian.h>: recognize macros __amd64__ etc.
  * AppVeyor CI: also test with chibicc.

 -- TK Chia <tkchia@users.noreply.github.com>  Mon, 14 Aug 2023 18:12:34 +0000

lfanew (20230813-build20230813-1~@distro@) @distro@; urgency=medium

  * Minor changes for AppVeyor CI & tests.

 -- TK Chia <tkchia@users.noreply.github.com>  Sun, 13 Aug 2023 07:26:10 +0000

lfanew (20230812-build20230812-2~@distro@) @distro@; urgency=medium

  * patch-lds.awk: simplify linker script patching.
  * Look for <io.h> at autoconf time.
  * Try to include dependencies for Windows build inside Git tree.
  * Other minor changes.

 -- TK Chia <tkchia@users.noreply.github.com>  Sat, 12 Aug 2023 22:36:48 +0000

lfanew (20230811-build20230811-2~@distro@) @distro@; urgency=medium

  * Find a way to patch GNU linker scripts for PE/i386 & PE/x86-64 to
    customize the starting RVA for the .text section.
  * lfanew.c: specially handle a first section in a PE file that comprises
    only "slack space".

 -- TK Chia <tkchia@users.noreply.github.com>  Fri, 11 Aug 2023 19:38:55 +0000

lfanew (20230808-build20230808-2~@distro@) @distro@; urgency=medium

  * Start switching license to Mozilla Public License 2.0.
  * lfanew.c: also recognize ZM magic signature for MZ files.
  * Various minor fixes.

 -- TK Chia <tkchia@users.noreply.github.com>  Tue, 08 Aug 2023 21:31:34 +0000

lfanew (20230804-build20230804-2~@distro@) @distro@; urgency=medium

  * lfanew.c: fix lossage for lfanew -U.
  * Tests: add test for lfanew -S.

 -- TK Chia <tkchia@users.noreply.github.com>  Fri, 04 Aug 2023 23:39:57 +0000

lfanew (20230803-build20230804-1~@distro@) @distro@; urgency=medium

  * Add a new <lfanew/io.h> library header, with a _binmode (, ) function.
  * Internal changes:
    - lfanew.c: internal change: rewrite to use file descriptors.
    - Tests: try unstubifying a PE file with a wide section alignment.
    - AppVeyor CI: package a build artifact.

 -- TK Chia <tkchia@users.noreply.github.com>  Fri, 04 Aug 2023 10:03:23 +0000

lfanew (20230802-build20230802-2~@distro@) @distro@; urgency=medium

  * lfanew.c: -S & -U: copy debug table for now, until I can figure out the
    more correct thing to do.
  * Add _LFANEW_VERSION macro; internally reorganize headers.

 -- TK Chia <tkchia@users.noreply.github.com>  Wed, 02 Aug 2023 20:42:15 +0000

lfanew (20230729-build20230729-1~@distro@) @distro@; urgency=medium

  * Improve & correct comments.
  * AppVeyor CI: try to build on Microsoft Windows too.

 -- TK Chia <tkchia@users.noreply.github.com>  Sat, 29 Jul 2023 10:34:10 +0000

lfanew (20230728-build20230728-1~@distro@) @distro@; urgency=medium

  * lfanew.c:
    - fix error messages for sections: section numbers should start from 1
    - simplify action of stubify mode (-S)
    - stubify (-S) now checks output SizeOfHeaders against section & data
      directory RVAs, instead of BaseOfCode (& BaseOfData)
    - allow -U & -p together
    - add hidden flag to allow unsafe operations.

 -- TK Chia <tkchia@users.noreply.github.com>  Fri, 28 Jul 2023 15:00:35 +0000

lfanew (20230727-build20230727-1~@distro@) @distro@; urgency=medium

  * lfanew.c: add support for stubifying & unstubifying _some_ PE programs.
  * <nexgen/pehdr.h>: add.

 -- TK Chia <tkchia@users.noreply.github.com>  Thu, 27 Jul 2023 19:25:31 +0000

lfanew (20230726-build20230726-1~@distro@) @distro@; urgency=medium

  * <nexgen/mzendian.h>: add functions leh32lo (.) & leh32hi (.).
  * Add a small Autotest test suite.
  * Add an AppVeyor CI configuration file.
  * lfanew.c: internal changes.

 -- TK Chia <tkchia@users.noreply.github.com>  Wed, 26 Jul 2023 13:54:03 +0000

lfanew (20230723-build20230723-1~@distro@) @distro@; urgency=medium

  * Do not try to stubify or unstubify PE programs for now.

 -- TK Chia <tkchia@users.noreply.github.com>  Sun, 23 Jul 2023 09:11:45 +0000

lfanew (20230722-build20230722-2~@distro@) @distro@; urgency=medium

  * <nexgen/mzendian.h>: recognize a few more preprocessor macros.
  * Fix regression in `-U` (unstubify) option.

 -- TK Chia <tkchia@users.noreply.github.com>  Sat, 22 Jul 2023 21:38:24 +0000

lfanew (20230721-build20230721-1~@distro@) @distro@; urgency=medium

  * lfanew.c: add `-S` (stubify) option.

 -- TK Chia <tkchia@users.noreply.github.com>  Fri, 21 Jul 2023 10:22:26 +0000

lfanew (20230719-build20230719-1~@distro@) @distro@; urgency=medium

  * <nexgen/*.h>: add leh64lo (.) & leh64hi (.); tidy up.

 -- TK Chia <tkchia@users.noreply.github.com>  Wed, 19 Jul 2023 17:18:42 +0000

lfanew (20230717-build20230717-1~@distro@) @distro@; urgency=medium

  * <nexgen/mzendian.h>: add 64-bit functions; handle more known-little-endian
    platforms.

 -- TK Chia <tkchia@users.noreply.github.com>  Mon, 17 Jul 2023 10:18:51 +0000

lfanew (20230716-build20230716-1~@distro@) @distro@; urgency=medium

  * Decouple headers and program.
  * <nexgen/mzendian.h>: make little endian types unaligned.

 -- TK Chia <tkchia@users.noreply.github.com>  Sun, 16 Jul 2023 00:26:01 +0000

lfanew (20230405-build20230406-1~@distro@) @distro@; urgency=medium

  * Update Debian package description.
  * Regenerate ./configure script.

 -- TK Chia <tkchia@users.noreply.github.com>  Thu, 06 Apr 2023 14:33:32 +0000

lfanew (20230331-build20230331-2~@distro@) @distro@; urgency=medium

  * Rename `-u` (unstubify) to `-U`.
  * Slightly improve documentation.

 -- TK Chia <tkchia@users.noreply.github.com>  Fri, 31 Mar 2023 19:38:44 +0000

lfanew (20230330-build20230330-1~@distro@) @distro@; urgency=medium

  * Add a `-u` (unstubify) option.

 -- TK Chia <tkchia@users.noreply.github.com>  Thu, 30 Mar 2023 19:42:53 +0000

lfanew (20230210-build20230210-3~@distro@) @distro@; urgency=medium

  * Release.

 -- TK Chia <tkchia@users.noreply.github.com>  Fri, 10 Feb 2023 18:11:59 +0000
