-
Notifications
You must be signed in to change notification settings - Fork 150
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
Add symtab (size info) for all external assembly functions #212
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @korken89 (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Don't these have to go after the implementation? They use |
|
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.
LGTM! Thanks!
(a member of the cortex-m team needs to bors this)
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.
bors r=japaric
bors r- CI broke |
Canceled. |
Most of the CI errors should be fixed by #210 so this PR is blocked on that one. This CI error makes sense no sense to me though: https://travis-ci.org/github/rust-embedded/cortex-m/jobs/680770633 +diff -u bin/thumbv6m-none-eabi.after bin/thumbv6m-none-eabi.before
--- bin/thumbv6m-none-eabi.after 2020-04-28 22:06:50.010978643 +0000
+++ bin/thumbv6m-none-eabi.before 2020-04-28 22:06:49.911028639 +0000
@@ -1,6 +1,6 @@
In archive bin/thumbv6m-none-eabi.a:
-cortex-m.o: file format elf32-littlearm
+$crate.o: file format elf32-littlearm
Disassembly of section .text.__bkpt: Why is there a |
@japaric I think that was some weirdness with Travis' bash version, it should be fixed now |
@stianeklund please rebase on master and rebuild the archives, then we can land this |
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.
bors r=japaric
Build succeeded: |
294: add CFI and size info r=jonas-schievink a=japaric like it was done in rust-embedded/cortex-m#216 and rust-embedded/cortex-m#212 Co-authored-by: Jorge Aparicio <jorge.aparicio@ferrous-systems.com>
205: Stop using randomized symbol names r=therealprof a=jonas-schievink It isn't possible to do this by incrementing a global counter, since the expansion order of macros isn't guaranteed and might change between compiler invocations. Fixes #212 Closes rust-embedded/cortex-m-rt#196 Closes rust-embedded/cortex-m-rt#195 Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Adds
.size
info for all of the external assembly functions.Fixes #211