You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ChangeLog.md
+79-32Lines changed: 79 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,51 @@
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
9
+
10
+
## 0.16.1 (October 28, 2022)
11
+
12
+
This release only fixes the incorrect reported version by the 0.16.0 release.
13
+
14
+
## 0.16.0 (October 27, 2022)
15
+
16
+
Changes from 0.15.3:
17
+
18
+
* Add `--print-os-abi` and `--set-os-abi` options by @dmsck in https://github.com/NixOS/patchelf/pull/381
19
+
* Sync `.note.gnu.property` to `PT_GNU_PROPERTY` by @Bo98 in https://github.com/NixOS/patchelf/pull/414
20
+
* Rework file shifting to avoid sections crossing multiple segments by @Bo98 in https://github.com/NixOS/patchelf/pull/415
21
+
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.5 (August 12, 2025)
26
+
27
+
Bugfix backports from 0.18.0:
28
+
29
+
* Adjust `roundUp` for 0 as input by @cgzones in https://github.com/NixOS/patchelf/pull/466
30
+
31
+
Bugfix backports from 0.17.{0, 1}:
32
+
33
+
* Fix page size constants for Itanium and SPARC.
34
+
* Fix Out-of-bounds read in the function `modifySoname` by @yairKoskas in https://github.com/NixOS/patchelf/pull/451
35
+
36
+
## 0.15.4 (August 12, 2025)
37
+
38
+
* Update to a later glibc `elf.h`.
39
+
40
+
This should not result in any behavioral changes, except for possibly better architecture-specific support.
41
+
42
+
## 0.15.3 (August 12, 2025)
43
+
44
+
This is a backport release made from the simplest fixes from 0.16.0.
45
+
46
+
* Handle `glibc-hwcaps` on `ppc64le` on CentOS/RHEL/Rocky 8 for `tests/replace-add-needed.sh` (fixes #406) by @robert-scheck in https://github.com/NixOS/patchelf/pull/407
47
+
* Fix Out-of-bounds read in the function `modifyRPath` by @xiaoxiaoafeifei in https://github.com/NixOS/patchelf/pull/419
48
+
* Fix out of bounds access when increasing program header table by @Bo98 in https://github.com/NixOS/patchelf/pull/411
2
49
3
50
## 0.15.2 (August 12, 2025)
4
51
@@ -18,13 +65,13 @@ The behavior of this version should be essentially the same as 0.15.0.
18
65
19
66
## 0.15.0 (July 16, 2022)
20
67
21
-
* Add --add-debug option by @deadw00d in https://github.com/NixOS/patchelf/pull/367
22
-
* Add O_BINARY flag when opening files to allow compilation for Windows by @JagoGyselinck in https://github.com/NixOS/patchelf/pull/372
23
-
* Document --print-needed by @klemensn in https://github.com/NixOS/patchelf/pull/375
68
+
* Add `--add-debug` option by @deadw00d in https://github.com/NixOS/patchelf/pull/367
69
+
* Add `O_BINARY flag` when opening files to allow compilation for Windows by @JagoGyselinck in https://github.com/NixOS/patchelf/pull/372
70
+
* Document `--print-needed` by @klemensn in https://github.com/NixOS/patchelf/pull/375
24
71
* modifyRPath: return early if new and old rpath are empty by @ehmry in https://github.com/NixOS/patchelf/pull/376
25
-
* Add comment explaining calculation for DT_MIPS_RLD_MAP_REL by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/379
26
-
* Add --no-sort option by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/378
27
-
* Handle DT_MIPS_XHASH and .MIPS.xhash by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/380
72
+
* Add comment explaining calculation for `DT_MIPS_RLD_MAP_REL` by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/379
73
+
* Add `--no-sort option` by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/378
74
+
* Handle `DT_MIPS_XHASH` and `.MIPS.xhash` by @amjoseph-nixpkgs in https://github.com/NixOS/patchelf/pull/380
28
75
29
76
## 0.14.5 (February 21, 2022)
30
77
@@ -36,7 +83,7 @@ The behavior of this version should be essentially the same as 0.15.0.
36
83
* Allow multiple modifications in same call by @fzakaria in https://github.com/NixOS/patchelf/pull/361
37
84
* Add support to build with musl by @fzakaria in https://github.com/NixOS/patchelf/pull/362
38
85
* Fix typo: s/folllow/follow/ by @bjornfor in https://github.com/NixOS/patchelf/pull/366
39
-
* mips: fix incorrect polarity on dyn_offset; closes #364 by @a-m-joseph in https://github.com/NixOS/patchelf/pull/365
86
+
* mips: fix incorrect polarity on `dyn_offset`; closes #364 by @a-m-joseph in https://github.com/NixOS/patchelf/pull/365
40
87
41
88
## 0.14.3 (December 05, 2021)
42
89
@@ -55,13 +102,13 @@ The behavior of this version should be essentially the same as 0.15.0.
55
102
Changes compared to 0.13:
56
103
57
104
* Bug fixes:
58
-
- Fix corrupted library names when using --replace-needed multiple times
105
+
- Fix corrupted library names when using `--replace-needed` multiple times
59
106
- Fix setting an empty rpath
60
-
- Don't try to parse .dynamic section of type NOBITS
61
-
- Fix use-after-free in normalizeNoteSegments
62
-
- Correct EINTR handling in writeFile
63
-
- MIPS: Adjust PT_MIPS_ABIFLAGS segment and DT_MIPS_RLD_MAP_REL dynamic section if present
64
-
- Fix binaries without .gnu.hash section
107
+
- Don't try to parse `.dynamic section` of type `NOBITS`
108
+
- Fix use-after-free in `normalizeNoteSegments`
109
+
- Correct `EINTR` handling in writeFile
110
+
- MIPS: Adjust `PT_MIPS_ABIFLAGS` segment and `DT_MIPS_RLD_MAP_REL` dynamic section if present
111
+
- Fix binaries without `.gnu.hash` section
65
112
* Support loongarch architecture
66
113
* Remove limits on output file size for elf files
67
114
* Allow reading rpath from file
@@ -72,12 +119,12 @@ Changes compared to 0.13:
72
119
* Bug fixes:
73
120
- fix setting empty rpath
74
121
- use memcpy instead of strcpy to set rpath
75
-
- Don't try to parse .dynamic section of type NOBITS
76
-
- fix use-after-free in normalizeNoteSegments
77
-
- correct EINTR handling in writeFile
78
-
- Adjust PT_MIPS_ABIFLAGS segment if present
79
-
- Adjust DT_MIPS_RLD_MAP_REL dynamic section entry if present
80
-
- fix binaries without .gnu.hash section
122
+
- Don't try to parse `.dynamic section` of type `NOBITS`
123
+
- fix use-after-free in `normalizeNoteSegments`
124
+
- correct `EINTR` handling in writeFile
125
+
- Adjust `PT_MIPS_ABIFLAGS` segment if present
126
+
- Adjust `DT_MIPS_RLD_MAP_REL` dynamic section entry if present
127
+
- fix binaries without `.gnu.hash` section
81
128
82
129
## 0.13 (August 5, 2021)
83
130
@@ -105,7 +152,7 @@ Changes compared to 0.13:
105
152
106
153
* Many bug fixes. Please refer to the Git commit log:
107
154
108
-
https://github.com/NixOS/patchelf/commits/master
155
+
https://github.com/NixOS/patchelf/commits/0.10
109
156
110
157
This release has contributions from Adam Trhoň, Benjamin Hipple,
111
158
Bernardo Ramos, Bjørn Forsman, Domen Kožar, Eelco Dolstra, Ezra
@@ -117,7 +164,7 @@ Changes compared to 0.13:
117
164
118
165
* Lots of new features. Please refer to the Git commit log:
119
166
120
-
https://github.com/NixOS/patchelf/commits/master
167
+
https://github.com/NixOS/patchelf/commits/0.9
121
168
122
169
This release has contributions from Aaron D. Marasco, Adrien
0 commit comments