-
-
Notifications
You must be signed in to change notification settings - Fork 125
Linux and mac compatibility #1029
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
aimir
wants to merge
44
commits into
knurling-rs:main
Choose a base branch
from
gen-bc:linux-and-mac-compatibility-branched
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 37 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
5da272f
Mac compatibility, part 1: macho support in object
aimir 5733047
Mac compatibility, part 2: add explicit #[used] tags, as the trick a…
aimir 4aed089
Mac compatibility, part 3: mac symbols are exported with a leading -…
aimir c0415da
Mac compatibility, part 4: get sections from the .defmt segment
aimir 37e22ca
Mac compatibility, part 5: calculate the base address for the section…
aimir 44692fc
Return to no-std, use linker symbols to calculate the base address
aimir 60c0faf
Merge pull request #1 from gen-bc/feature/remove-std-from-base-addres…
aimir fd4e0f3
remove two deps from defmt/Cargo.toml
udigen e74bdc4
Merge pull request #2 from gen-bc/linux-and-mac-compatibility-cleanup
udigen 87b4745
fix(macos): avoid 255 section-per-segment limit
Shai-Koffman 0138020
Update macros/src/construct.rs
aimir 06da809
Merge pull request #3 from gen-bc/fix/macos-255-section-limit
aimir dca26e6
add a fallback for base address calculation logic
aimir 93eebd5
determine if we need to strip the leading _ based on the actual binar…
aimir 62aa71c
leftover from some debugging session
aimir fc26e8b
make this comment more straightforward
aimir dcb8988
Merge pull request #6 from gen-bc/linux-and-mac-compatibility-fixes
aimir 0383da7
Update decoder/src/elf2table/symbol.rs
aimir d24c7c3
section finding logic should be toggled based on the actual binary, r…
aimir 267737b
Merge pull request #7 from gen-bc/linux-and-mac-compatibility-fixes2
aimir 492fea1
move this comment to the right place
aimir 3b4131b
avoid getting the section twice
aimir 57acf1b
can I revert to this now?
aimir 2dd95bd
this is fix is more lines, but I think it's less dependent on obscure…
aimir 067b94c
Update the parsing logic accordingly
aimir ba1f9ae
debug prints
aimir 311a12d
Revert "can I revert to this now?"
aimir 8eb25bf
Revert "debug prints"
aimir 34b395a
Merge pull request #8 from gen-bc/linux-and-mac-compatibility-fixes3
aimir 6b12bee
Lint fix: this is unused
aimir 1bbe735
Formatting
aimir 714df9e
Taking addr_of external static is safe since rust 1.82
aimir 88da8b9
Merge branch 'main' into linux-and-mac-compatibility-branched
aimir 81410f3
Merge branch 'main' into linux-and-mac-compatibility-branched
aimir 4238ec7
Fix tests - anything touching absolute addresses should now subtract …
aimir 9601766
The "used" attribute causes Windows linker to try and resolve the sym…
aimir 85ac935
Merge branch 'main' into linux-and-mac-compatibility-branched
aimir d378fde
move print to use object crate, so it can parse general object files
aimir 77d6e3c
Merge branch 'main' into linux-and-mac-compatibility-branched
aimir f1dd0fc
Merge branch 'main' into linux-and-mac-compatibility-branched
aimir e9b82a6
resolve macOS dSYM location mapping via hash lookup
lakechurch 785a6fb
Merge pull request #11 from lakechurch/fix-macos-dsym-mapping
aimir 7b92af8
Fix lint and Linux/Windows compile errors from the macOS dSYM patch
aimir 4bbe27f
Merge branch 'main' into linux-and-mac-compatibility-branched
aimir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.