Skip to content

Commit 5680895

Browse files
authored
Merge pull request #185 from Decompollaborate/develop
1.32.4
2 parents 7fb2134 + db4763f commit 5680895

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.32.4] - 2025-03-03
11+
12+
### Fixed
13+
14+
- `gpRelHack` fix:
15+
- Fix not emitting `.extern` directives for `$gp` accesses with addends.
16+
1017
## [1.32.3] - 2025-02-18
1118

1219
### Fixed
@@ -1757,6 +1764,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17571764
- Version 1.0.0
17581765

17591766
[unreleased]: https://github.com/Decompollaborate/spimdisasm/compare/master...develop
1767+
[1.32.4]: https://github.com/Decompollaborate/spimdisasm/compare/1.32.3...1.32.4
17601768
[1.32.3]: https://github.com/Decompollaborate/spimdisasm/compare/1.32.2...1.32.3
17611769
[1.32.2]: https://github.com/Decompollaborate/spimdisasm/compare/1.32.1...1.32.2
17621770
[1.32.1]: https://github.com/Decompollaborate/spimdisasm/compare/1.32.0...1.32.1

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If you use a `requirements.txt` file in your repository, then you can add
6969
this library with the following line:
7070

7171
```txt
72-
spimdisasm>=1.32.3,<2.0.0
72+
spimdisasm>=1.32.4,<2.0.0
7373
```
7474

7575
### Development version

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[project]
55
name = "spimdisasm"
66
# Version should be synced with spimdisasm/__init__.py
7-
version = "1.32.3"
7+
version = "1.32.4"
88
description = "MIPS disassembler"
99
readme = "README.md"
1010
license = {file = "LICENSE"}

spimdisasm/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from __future__ import annotations
77

8-
__version_info__: tuple[int, int, int] = (1, 32, 3)
8+
__version_info__: tuple[int, int, int] = (1, 32, 4)
99
__version__ = ".".join(map(str, __version_info__))# + "-dev0"
1010
__author__ = "Decompollaborate"
1111

spimdisasm/mips/symbols/MipsSymbolFunction.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ def disassemble(self, migrate: bool=False, useGlobalLabel: bool=True, isSplitted
851851
if not common.GlobalConfig.PIC and self.gpRelHack and len(self.instrAnalyzer.gpReferencedSymbols) > 0:
852852
output += f"/* Symbols accessed via $gp register */{common.GlobalConfig.LINE_ENDS}"
853853
for gpAddress in self.instrAnalyzer.gpReferencedSymbols:
854-
gpSym = self.getSymbol(gpAddress, tryPlusOffset=False)
854+
gpSym = self.getSymbol(gpAddress, tryPlusOffset=True)
855855
if gpSym is not None:
856856
output += f".extern {gpSym.getName()}, 1{common.GlobalConfig.LINE_ENDS}"
857857
output += common.GlobalConfig.LINE_ENDS

0 commit comments

Comments
 (0)