gimli-rs/object (object)
### [`v0.36.0`](https://togithub.com/gimli-rs/object/blob/HEAD/CHANGELOG.md#0360)
[Compare Source](https://togithub.com/gimli-rs/object/compare/0.35.0...0.36.0)
Released 2024/05/26.
##### Breaking changes
- Deleted `data` and `align` parameters for `write::Object::add_subsection`.
Use `add_symbol_data` or `add_symbol_bss` instead.
[#676](https://togithub.com/gimli-rs/object/pull/676)
- Changed methods in the lower level read API to accept or return `SectionIndex`
or `SymbolIndex` instead of `usize`.
[#677](https://togithub.com/gimli-rs/object/pull/677)
[#684](https://togithub.com/gimli-rs/object/pull/684)
[#685](https://togithub.com/gimli-rs/object/pull/685)
- Deleted `SymbolKind::Null`. Changed `read::Object::sections` and `read::Object::symbols`
to no longer return null entries. This affects ELF and XCOFF.
[#679](https://togithub.com/gimli-rs/object/pull/679)
- Changed `read::ObjectMap::object` to return `ObjectMapFile`. This handles
splitting the object file name into path and member.
[#686](https://togithub.com/gimli-rs/object/pull/686)
- Changed `read::coff::ImageSymbol::address` to only return an address for
symbols that have an address.
[#689](https://togithub.com/gimli-rs/object/pull/689)
##### Added
- Added `pod::slice_from_all_bytes` and `pod::slice_from_all_bytes_mut`.
[#672](https://togithub.com/gimli-rs/object/pull/672)
- Added `write::Object::set_subsections_via_symbols`.
Changed `write::Object::add_symbol_data` and `write::Object::add_symbol_bss`
to correctly handle zero size symbols when subsections are enabled.
[#676](https://togithub.com/gimli-rs/object/pull/676)
- Added methods in the unified read API to return the lower level API structures.
Some existing methods were deprecated so that naming of these methods is more consistent.
[#678](https://togithub.com/gimli-rs/object/pull/678)
- Added methods in the lower level read API to return a `SectionIndex` or `SymbolIndex`.
[#684](https://togithub.com/gimli-rs/object/pull/684)
[#689](https://togithub.com/gimli-rs/object/pull/689)
- Implemented `Display` for `read::SymbolIndex` and `read::SectionIndex`.
[#684](https://togithub.com/gimli-rs/object/pull/684)
- Added `is_common`, `is_absolute`, `is_local`, and `is_weak` to `read::elf::Sym`.
[#685](https://togithub.com/gimli-rs/object/pull/685)
##### Changed
- Changed `read::ArchiveFile` to skip the `` member.
[#669](https://togithub.com/gimli-rs/object/pull/669)
- Fixed handling of segment data in the dyld shared cache.
[#673](https://togithub.com/gimli-rs/object/pull/673)
- Changed `read::RelocationMap` to handle Mach-O section relocations.
[#675](https://togithub.com/gimli-rs/object/pull/675)
- Changed `read::elf::RelocationSections` to ignore relocations that apply to relocations.
[#680](https://togithub.com/gimli-rs/object/pull/680)
- Removed a lifetime bound from an argument in `read::elf::SectionTable::section_name`,
`read::elf::SymbolTable::symbol_name`, and `read::elf::SymbolTable::symbol_section`.
[#681](https://togithub.com/gimli-rs/object/pull/681)
***
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.35.0
->0.36.0
Release Notes
gimli-rs/object (object)
### [`v0.36.0`](https://togithub.com/gimli-rs/object/blob/HEAD/CHANGELOG.md#0360) [Compare Source](https://togithub.com/gimli-rs/object/compare/0.35.0...0.36.0) Released 2024/05/26. ##### Breaking changes - Deleted `data` and `align` parameters for `write::Object::add_subsection`. Use `add_symbol_data` or `add_symbol_bss` instead. [#676](https://togithub.com/gimli-rs/object/pull/676) - Changed methods in the lower level read API to accept or return `SectionIndex` or `SymbolIndex` instead of `usize`. [#677](https://togithub.com/gimli-rs/object/pull/677) [#684](https://togithub.com/gimli-rs/object/pull/684) [#685](https://togithub.com/gimli-rs/object/pull/685) - Deleted `SymbolKind::Null`. Changed `read::Object::sections` and `read::Object::symbols` to no longer return null entries. This affects ELF and XCOFF. [#679](https://togithub.com/gimli-rs/object/pull/679) - Changed `read::ObjectMap::object` to return `ObjectMapFile`. This handles splitting the object file name into path and member. [#686](https://togithub.com/gimli-rs/object/pull/686) - Changed `read::coff::ImageSymbol::address` to only return an address for symbols that have an address. [#689](https://togithub.com/gimli-rs/object/pull/689) ##### Added - Added `pod::slice_from_all_bytes` and `pod::slice_from_all_bytes_mut`. [#672](https://togithub.com/gimli-rs/object/pull/672) - Added `write::Object::set_subsections_via_symbols`. Changed `write::Object::add_symbol_data` and `write::Object::add_symbol_bss` to correctly handle zero size symbols when subsections are enabled. [#676](https://togithub.com/gimli-rs/object/pull/676) - Added methods in the unified read API to return the lower level API structures. Some existing methods were deprecated so that naming of these methods is more consistent. [#678](https://togithub.com/gimli-rs/object/pull/678) - Added methods in the lower level read API to return a `SectionIndex` or `SymbolIndex`. [#684](https://togithub.com/gimli-rs/object/pull/684) [#689](https://togithub.com/gimli-rs/object/pull/689) - Implemented `Display` for `read::SymbolIndex` and `read::SectionIndex`. [#684](https://togithub.com/gimli-rs/object/pull/684) - Added `is_common`, `is_absolute`, `is_local`, and `is_weak` to `read::elf::Sym`. [#685](https://togithub.com/gimli-rs/object/pull/685) ##### Changed - Changed `read::ArchiveFile` to skip the `Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.