1- ## Release History
1+ # Release History
2+
3+ ## 0.16.2 (Yet to be released)
4+
5+ The release combines the 0.15.1 through 0.15.4 backports with 0.16.1.
6+
7+ * Code quality and infra changes just like 0.15.{1,2}
8+ * Update to a later glibc ` elf.h ` , just like 0.15.4
29
310## 0.16.1 (October 28, 2022)
411
512This release only fixes the incorrect reported version by the 0.16.0 release.
613
714## 0.16.0 (October 27, 2022)
815
9- These notes are the remainder of 0.16.0 that was not backported to 0.15.3.
10- Originally, 0.16.0 would have freshly contained all items from both releases.
16+ Changes from 0.15.3:
1117
1218* Add ` --print-os-abi ` and ` --set-os-abi ` options by @dmsck in https://github.com/NixOS/patchelf/pull/381
1319* Sync ` .note.gnu.property ` to ` PT_GNU_PROPERTY ` by @Bo98 in https://github.com/NixOS/patchelf/pull/414
1420* Rework file shifting to avoid sections crossing multiple segments by @Bo98 in https://github.com/NixOS/patchelf/pull/415
1521
16- ## 0.15.3 (yet to be released)
22+ (These notes are the remainder of 0.16.0 that was not backported to 0.15.3.
23+ Originally, 0.16.0 was branched from 0.15.0, and those changes were fresh in this release, having never been backported.)
24+
25+ ## 0.15.4 (August 12, 2025)
26+
27+ * Update to a later glibc ` elf.h ` .
28+
29+ This should not result in any behavioral changes, except for possibly better architecture-specific support.
30+
31+ ## 0.15.3 (August 12, 2025)
1732
1833This is a backport release made from the simplest fixes from 0.16.0.
1934
@@ -39,13 +54,13 @@ The behavior of this version should be essentially the same as 0.15.0.
3954
4055## 0.15.0 (July 16, 2022)
4156
42- * Add --add-debug option by @deadw00d in https://github.com/NixOS/patchelf/pull/367
43- * Add O_BINARY flag when opening files to allow compilation for Windows by @JagoGyselinck in https://github.com/NixOS/patchelf/pull/372
44- * Document --print-needed by @klemensn in https://github.com/NixOS/patchelf/pull/375
57+ * Add ` --add-debug ` option by @deadw00d in https://github.com/NixOS/patchelf/pull/367
58+ * Add ` O_BINARY flag ` when opening files to allow compilation for Windows by @JagoGyselinck in https://github.com/NixOS/patchelf/pull/372
59+ * Document ` --print-needed ` by @klemensn in https://github.com/NixOS/patchelf/pull/375
4560* modifyRPath: return early if new and old rpath are empty by @ehmry in https://github.com/NixOS/patchelf/pull/376
46- * Add comment explaining calculation for DT_MIPS_RLD_MAP_REL by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/379
47- * Add --no-sort option by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/378
48- * Handle DT_MIPS_XHASH and .MIPS.xhash by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/380
61+ * Add comment explaining calculation for ` DT_MIPS_RLD_MAP_REL ` by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/379
62+ * Add ` --no-sort option ` by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/378
63+ * Handle ` DT_MIPS_XHASH ` and ` .MIPS.xhash ` by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/380
4964
5065## 0.14.5 (February 21, 2022)
5166
@@ -57,7 +72,7 @@ The behavior of this version should be essentially the same as 0.15.0.
5772* Allow multiple modifications in same call by @fzakaria in https://github.com/NixOS/patchelf/pull/361
5873* Add support to build with musl by @fzakaria in https://github.com/NixOS/patchelf/pull/362
5974* Fix typo: s/folllow/follow/ by @bjornfor in https://github.com/NixOS/patchelf/pull/366
60- * mips: fix incorrect polarity on dyn_offset; closes #364 by @a-m-joseph in https://github.com/NixOS/patchelf/pull/365
75+ * mips: fix incorrect polarity on ` dyn_offset ` ; closes #364 by @a-m-joseph in https://github.com/NixOS/patchelf/pull/365
6176
6277## 0.14.3 (December 05, 2021)
6378
@@ -76,13 +91,13 @@ The behavior of this version should be essentially the same as 0.15.0.
7691Changes compared to 0.13:
7792
7893* Bug fixes:
79- - Fix corrupted library names when using --replace-needed multiple times
94+ - Fix corrupted library names when using ` --replace-needed ` multiple times
8095 - Fix setting an empty rpath
81- - Don't try to parse .dynamic section of type NOBITS
82- - Fix use-after-free in normalizeNoteSegments
83- - Correct EINTR handling in writeFile
84- - MIPS: Adjust PT_MIPS_ABIFLAGS segment and DT_MIPS_RLD_MAP_REL dynamic section if present
85- - Fix binaries without .gnu.hash section
96+ - Don't try to parse ` .dynamic section ` of type ` NOBITS `
97+ - Fix use-after-free in ` normalizeNoteSegments `
98+ - Correct ` EINTR ` handling in writeFile
99+ - MIPS: Adjust ` PT_MIPS_ABIFLAGS ` segment and ` DT_MIPS_RLD_MAP_REL ` dynamic section if present
100+ - Fix binaries without ` .gnu.hash ` section
86101* Support loongarch architecture
87102* Remove limits on output file size for elf files
88103* Allow reading rpath from file
@@ -93,12 +108,12 @@ Changes compared to 0.13:
93108* Bug fixes:
94109 - fix setting empty rpath
95110 - use memcpy instead of strcpy to set rpath
96- - Don't try to parse .dynamic section of type NOBITS
97- - fix use-after-free in normalizeNoteSegments
98- - correct EINTR handling in writeFile
99- - Adjust PT_MIPS_ABIFLAGS segment if present
100- - Adjust DT_MIPS_RLD_MAP_REL dynamic section entry if present
101- - fix binaries without .gnu.hash section
111+ - Don't try to parse ` .dynamic section ` of type ` NOBITS `
112+ - fix use-after-free in ` normalizeNoteSegments `
113+ - correct ` EINTR ` handling in writeFile
114+ - Adjust ` PT_MIPS_ABIFLAGS ` segment if present
115+ - Adjust ` DT_MIPS_RLD_MAP_REL ` dynamic section entry if present
116+ - fix binaries without ` .gnu.hash ` section
102117
103118## 0.13 (August 5, 2021)
104119
@@ -126,7 +141,7 @@ Changes compared to 0.13:
126141
127142* Many bug fixes. Please refer to the Git commit log:
128143
129- https://github.com/NixOS/patchelf/commits/master
144+ https://github.com/NixOS/patchelf/commits/0.10
130145
131146 This release has contributions from Adam Trhoň, Benjamin Hipple,
132147 Bernardo Ramos, Bjørn Forsman, Domen Kožar, Eelco Dolstra, Ezra
@@ -138,7 +153,7 @@ Changes compared to 0.13:
138153
139154* Lots of new features. Please refer to the Git commit log:
140155
141- https://github.com/NixOS/patchelf/commits/master
156+ https://github.com/NixOS/patchelf/commits/0.9
142157
143158 This release has contributions from Aaron D. Marasco, Adrien
144159 Devresse, Alexandre Pretyman, Changli Gao, Chingis Dugarzhapov,
@@ -171,7 +186,7 @@ Changes compared to 0.13:
171186
172187* Various bugfixes.
173188
174- * `--force-rpath' now deletes the DT_RUNPATH if it is present.
189+ * ` --force-rpath' now deletes the ` DT_RUNPATH` if it is present.
175190
176191## 0.4 (June 4, 2008)
177192
@@ -182,11 +197,11 @@ Changes compared to 0.13:
182197* FreeBSD support.
183198
184199* ` --set-rpath', ` --shrink-rpath' and `--print-rpath' now prefer
185- DT_RUNPATH over DT_RPATH, which is obsolete. When updating, if both
186- are present, both are updated. If only DT_RPATH is present, it is
187- converted to DT_RUNPATH unless `--force-rpath' is specified. If
188- neither is present, a DT_RUNPATH is added unless `--force-rpath' is
189- specified, in which case a DT_RPATH is added.
200+ ` DT_RUNPATH ` over ` DT_RPATH ` , which is obsolete. When updating, if both
201+ are present, both are updated. If only ` DT_RPATH ` is present, it is
202+ converted to ` DT_RUNPATH ` unless `--force-rpath' is specified. If
203+ neither is present, a ` DT_RUNPATH ` is added unless `--force-rpath' is
204+ specified, in which case a ` DT_RPATH ` is added.
190205
191206## 0.3 (May 24, 2007)
192207
0 commit comments