This repository has been archived by the owner on Jan 24, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update linker script to fix arm-none-eabi-gcc linking. Closes #259
- Loading branch information
8056cb5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Adam,
It is really nice to see that a problem that one encounters is already fixed! Would this commit be released soon? Seems the master branch still has the problematic "__etext" there.
No urgent because I can just clone the git repository myself and point cargo to it. It would still be nice to know when it would be released so I can clean up the mess on my side though.
Regards,
Cheng
8056cb5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! In the end it turned out we don't really need to remove
__etext
(#260) but instead you need to add-nostartfile
when invoking gcc as a linker, as is done in the.cargo/config
in this repository for example. So, this commit did not get merged.That said it's worth saying you can also override
link.x.in
yourself entirely without needing to clone cortex-m-rt or updating Cargo: just place your modified copy oflink.x.in
namedlink.x
in your project directory. But you don't need to do that to fix this issue, just add-nostartfiles
.8056cb5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.