diff --git a/CHANGELOG.md b/CHANGELOG.md index 259bc18..0cfc6c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,37 @@ -------------------------------------------------------------------------------- +## 0.39.1 + +Released 2026/04/21. + +### Changed + +* Changed `read::PeFile::imports` to return an error for empty import names. + [#873](https://github.com/gimli-rs/object/pull/873) + +* Fixed `read::PeFile::imports` to handle import names in a different section. + [#881](https://github.com/gimli-rs/object/pull/881) + +* Fixed the ELF section flags for `write::StandardSection::EhFrame`. + [#877](https://github.com/gimli-rs/object/pull/877) + +* Updated `hashbrown`, `indexmap`, and `wasmparser` dependencies. + [#879](https://github.com/gimli-rs/object/pull/879) + +### Added + +* Added Android definitions for ELF. + [#875](https://github.com/gimli-rs/object/pull/875) + +* Updated Mach-O definitions. + [#883](https://github.com/gimli-rs/object/pull/883) + +* Added `read::macho::LoadCommandData::dylib_use_flags`. + [#887](https://github.com/gimli-rs/object/pull/887) + +-------------------------------------------------------------------------------- + ## 0.39.0 Released 2026/03/29. diff --git a/Cargo.lock b/Cargo.lock index 2e5ac7c..f0e9ff6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -226,7 +226,7 @@ dependencies = [ [[package]] name = "object" -version = "0.39.0" +version = "0.39.1" dependencies = [ "crc32fast", "flate2", @@ -314,9 +314,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "wasmparser" -version = "0.245.1" +version = "0.247.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f08c9adee0428b7bddf3890fc27e015ac4b761cc608c822667102b8bfd6995e" +checksum = "8e6fb4c2bee46c5ea4d40f8cdb5c131725cd976718ec56f1c8e82fbde5fa2a80" dependencies = [ "bitflags", ] diff --git a/Cargo.toml b/Cargo.toml index 7e92d8e..59b7591 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "object" -version = "0.39.0" +version = "0.39.1" edition = "2018" keywords = ["object", "elf", "mach-o", "pe", "coff"] license = "Apache-2.0 OR MIT" @@ -27,7 +27,7 @@ features = ['doc'] crc32fast = { version = "1.2", default-features = false, optional = true } flate2 = { version = "1", optional = true } indexmap = { version = "2.14", default-features = false, optional = true } -wasmparser = { version = "0.245.1", default-features = false, optional = true } +wasmparser = { version = "0.247.0", default-features = false, optional = true } memchr = { version = "2.4.1", default-features = false } hashbrown = { version = "0.17.0", features = ["default-hasher"], default-features = false, optional = true } ruzstd = { version = "0.8.1", optional = true } diff --git a/src/write/mod.rs b/src/write/mod.rs index 7ec0bb4..9ea6243 100644 --- a/src/write/mod.rs +++ b/src/write/mod.rs @@ -1126,6 +1126,7 @@ pub struct Relocation { pub(crate) struct RelocationInternal { offset: u64, symbol: SymbolId, + #[cfg_attr(not(feature = "macho"), allow(unused))] subtractor: Option, addend: i64, flags: RelocationFlags,