Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.36.6 #750

Merged
merged 4 commits into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@

--------------------------------------------------------------------------------

## 0.36.6

Released 2024/10/21.

### Added

* Added `Architecuture::M68k`.
[#742](https://github.com/gimli-rs/object/pull/742)
[#749](https://github.com/gimli-rs/object/pull/749)

* Added `Architecuture::Mips64_N32`.
[#743](https://github.com/gimli-rs/object/pull/743)

* Added `elf::SHT_RELR`, `read::elf::SectionHeader::relr`, and
`write::elf::Writer::write_relative_relocation_section_header`.
[#746](https://github.com/gimli-rs/object/pull/746)

* Added `core::error::Error` implementation for Rust 1.81 onwards.
[#747](https://github.com/gimli-rs/object/pull/747)

### Changed

* Changed `build::elf::Builder` to support `.annobin.notes`,
`SHT_LLVM_DEPENDENT_LIBRARIES`, and `SHT_RELR` sections.
[#735](https://github.com/gimli-rs/object/pull/735)
[#737](https://github.com/gimli-rs/object/pull/737)
[#746](https://github.com/gimli-rs/object/pull/746)

* Changed `write::Object::add_subsection` to omit the subsection name suffix
if the subsection name is empty.
[#748](https://github.com/gimli-rs/object/pull/748)

--------------------------------------------------------------------------------

## 0.36.5

Released 2024/10/04.
Expand Down
98 changes: 49 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "object"
version = "0.36.5"
version = "0.36.6"
edition = "2018"
keywords = ["object", "elf", "mach-o", "pe", "coff"]
license = "Apache-2.0 OR MIT"
Expand All @@ -26,7 +26,7 @@ features = ['doc']
crc32fast = { version = "1.2", default-features = false, optional = true }
flate2 = { version = "1", optional = true }
indexmap = { version = "2.0", default-features = false, optional = true }
wasmparser = { version = "0.218.0", default-features = false, optional = true }
wasmparser = { version = "0.222.0", default-features = false, optional = true }
memchr = { version = "2.4.1", default-features = false }
hashbrown = { version = "0.15.0", features = ["default-hasher"], default-features = false, optional = true }
ruzstd = { version = "0.7.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/rewrite/src/elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub struct ElfOptions {
pub set_interpreter: Option<Vec<u8>>,
}

impl<'data> Rewriter<'data> {
impl Rewriter<'_> {
/// Delete symbols from the symbol table.
pub fn elf_delete_symbols(&mut self, names: &HashSet<Vec<u8>>) {
for symbol in &mut self.builder.dynamic_symbols {
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#![allow(clippy::field_reassign_with_default)]
#![allow(clippy::manual_flatten)]
#![allow(clippy::match_like_matches_macro)]
#![allow(clippy::needless_lifetimes)]
#![allow(clippy::single_match)]
#![allow(clippy::type_complexity)]
// Occurs due to fallible iteration.
Expand Down
Loading