Skip to content
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# splat Release Notes


### 0.38.1

* Fix `bss_size` being required for parent segments that contain `.bss` segments; it is still required for `bss` segments.

### 0.38.0

* New symbol attribute: `use_non_matching_label`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The brackets corresponds to the optional dependencies to install while installin
If you use a `requirements.txt` file in your repository, then you can add this library with the following line:

```txt
splat64[mips]>=0.38.0,<1.0.0
splat64[mips]>=0.38.1,<1.0.0
```

### Optional dependencies
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "splat64"
# Should be synced with src/splat/__init__.py
version = "0.38.0"
version = "0.38.1"
description = "A binary splitting tool to assist with decompilation and modding projects"
readme = "README.md"
license = {file = "LICENSE"}
Expand Down
2 changes: 1 addition & 1 deletion src/splat/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__package_name__ = __name__

# Should be synced with pyproject.toml
__version__ = "0.38.0"
__version__ = "0.38.1"
__author__ = "ethteck"

from . import util as util
Expand Down
6 changes: 5 additions & 1 deletion src/splat/segtypes/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,11 @@ def from_yaml(
from .common.code import CommonSegCode
from .common.bss import CommonSegBss

if options.opts.ld_bss_is_noload and isinstance(ret, CommonSegBss):
if (
options.opts.ld_bss_is_noload
and isinstance(ret, CommonSegBss)
and not ret.type.startswith(".")
):
# We need to know the bss space for the segment.
if isinstance(parent, CommonSegCode):
if parent.bss_size <= 0:
Expand Down
Loading