prysmaticlabs / hashtree

SHA256 library highly optimized for Merkle tree computations
MIT License
27 stars 7 forks source link

Use 32 bit addressing on ARM #29

Closed potuz closed 6 months ago

potuz commented 6 months ago

Consumers of the library, if they insert a lot of data between text and .rodata may hit a relocation issue when linking. Rather than tweaking the linker, this PR fixes the addressing modes by adding a couple of cycles when loading symbols allowing them to be separated to 32 bits.

Fixes #28