Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

Conversation

@crazybolillo
Copy link
Member

The canonical 'size' utility reported bigger sizes on more complex binaries, rgctl.elf is linked for an MCU so it has very little sections, however something like a Go or C binary for 'normal' use has much more sections which were not being considered.

Therefore the categorization of sections has been fixed to consider them. An extra test binary designed to run on AMD64 Linux was also incuded to ensure size is properly calculated.

Closes #8.

The canonical 'size' utility reported bigger sizes on more complex
binaries, rgctl.elf is linked for an MCU so it has very little sections,
however something like a Go or C binary for 'normal' use has much more
sections which were not being considered.

Therefore the categorization of sections has been fixed to consider
them. An extra test binary designed to run on AMD64 Linux was also
incuded to ensure size is properly calculated.

Closes #8.
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 6, 2024

@crazybolillo crazybolillo merged commit 5987889 into main Jan 6, 2024
@crazybolillo crazybolillo deleted the i8-cb branch January 6, 2024 20:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistencies between size on go binaries

2 participants