-
Notifications
You must be signed in to change notification settings - Fork 161
Comparing changes
Open a pull request
base repository: rust-embedded/cortex-m
base: v0.7.7
head repository: rust-embedded/cortex-m
compare: master
Commits on Mar 12, 2017
-
Jorge Aparicio committed
Mar 12, 2017 Configuration menu - View commit details
-
Copy full SHA for 1f2c429 - Browse repository at this point
Copy the full SHA 1f2c429View commit details
Commits on Apr 4, 2017
-
force the linker to keep the entry point around
a sane linker shouldn't throw the entry point symbol away but some newer versions of gcc do
Jorge Aparicio committedApr 4, 2017 Configuration menu - View commit details
-
Copy full SHA for d92ecc1 - Browse repository at this point
Copy the full SHA d92ecc1View commit details
Commits on Apr 7, 2017
-
make the reset handler private
Jorge Aparicio committedApr 7, 2017 Configuration menu - View commit details
-
Copy full SHA for eeaf566 - Browse repository at this point
Copy the full SHA eeaf566View commit details
Commits on Apr 9, 2017
-
Jorge Aparicio committed
Apr 9, 2017 Configuration menu - View commit details
-
Copy full SHA for 201d4e2 - Browse repository at this point
Copy the full SHA 201d4e2View commit details -
Merge pull request #1 from japaric/used
make the reset handler private
Jorge Aparicio authoredApr 9, 2017 Configuration menu - View commit details
-
Copy full SHA for f072735 - Browse repository at this point
Copy the full SHA f072735View commit details -
stub exception handlers by default, change name of interrupt/exceptio…
…n sections
Jorge Aparicio committedApr 9, 2017 Configuration menu - View commit details
-
Copy full SHA for 58b0570 - Browse repository at this point
Copy the full SHA 58b0570View commit details
Commits on Apr 10, 2017
-
Jorge Aparicio committed
Apr 10, 2017 Configuration menu - View commit details
-
Copy full SHA for f2ff000 - Browse repository at this point
Copy the full SHA f2ff000View commit details -
Merge pull request #2 from japaric/ng
stub exceptions by default, drop .init_array support
Jorge Aparicio authoredApr 10, 2017 Configuration menu - View commit details
-
Copy full SHA for 9c95cbd - Browse repository at this point
Copy the full SHA 9c95cbdView commit details
Commits on Apr 11, 2017
-
remove .init_array from the linker script
Jorge Aparicio committedApr 11, 2017 Configuration menu - View commit details
-
Copy full SHA for 78573f9 - Browse repository at this point
Copy the full SHA 78573f9View commit details
Commits on Apr 12, 2017
-
drop the direct dependency on compiler-builtins
this crate is part of the Xargo sysroot and the dependency should be implicit (to e.g. avoid linking to the same crate twice)
Jorge Aparicio committedApr 12, 2017 Configuration menu - View commit details
-
Copy full SHA for 3b08a99 - Browse repository at this point
Copy the full SHA 3b08a99View commit details -
Jorge Aparicio committed
Apr 12, 2017 Configuration menu - View commit details
-
Copy full SHA for 3d145f9 - Browse repository at this point
Copy the full SHA 3d145f9View commit details -
Merge pull request #3 from japaric/next
drop compiler-builtins dependency, add documentation
Jorge Aparicio authoredApr 12, 2017 Configuration menu - View commit details
-
Copy full SHA for bd2f05a - Browse repository at this point
Copy the full SHA bd2f05aView commit details -
improve the linker error messages
Jorge Aparicio committedApr 12, 2017 Configuration menu - View commit details
-
Copy full SHA for bb41c70 - Browse repository at this point
Copy the full SHA bb41c70View commit details -
make the "linker-script" Cargo feature opt-out
Jorge Aparicio committedApr 12, 2017 Configuration menu - View commit details
-
Copy full SHA for a214bad - Browse repository at this point
Copy the full SHA a214badView commit details -
Merge pull request #4 from japaric/dev
make the "linker-script" Cargo feature opt-out
Jorge Aparicio authoredApr 12, 2017 Configuration menu - View commit details
-
Copy full SHA for fad0f28 - Browse repository at this point
Copy the full SHA fad0f28View commit details -
Jorge Aparicio committed
Apr 12, 2017 Configuration menu - View commit details
-
Copy full SHA for 603a10f - Browse repository at this point
Copy the full SHA 603a10fView commit details -
Jorge Aparicio committed
Apr 12, 2017 Configuration menu - View commit details
-
Copy full SHA for f2ce9a5 - Browse repository at this point
Copy the full SHA f2ce9a5View commit details -
Jorge Aparicio committed
Apr 12, 2017 Configuration menu - View commit details
-
Copy full SHA for 6080d29 - Browse repository at this point
Copy the full SHA 6080d29View commit details
Commits on Apr 15, 2017
-
Jorge Aparicio committed
Apr 15, 2017 Configuration menu - View commit details
-
Copy full SHA for 36ea73c - Browse repository at this point
Copy the full SHA 36ea73cView commit details
Commits on Apr 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a5363f5 - Browse repository at this point
Copy the full SHA a5363f5View commit details
Commits on Apr 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for adef5af - Browse repository at this point
Copy the full SHA adef5afView commit details
Commits on Apr 26, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1e03f51 - Browse repository at this point
Copy the full SHA 1e03f51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 945c5d0 - Browse repository at this point
Copy the full SHA 945c5d0View commit details
Commits on Apr 27, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9cf6745 - Browse repository at this point
Copy the full SHA 9cf6745View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d1cf60 - Browse repository at this point
Copy the full SHA 4d1cf60View commit details
Commits on Apr 30, 2017
-
Mark .debug_gdb_scripts as non-allocatable.
See the discussion in rust-lang/rust#41627 for an explanation of why this is necessary.
Configuration menu - View commit details
-
Copy full SHA for d86829a - Browse repository at this point
Copy the full SHA d86829aView commit details
Commits on May 6, 2017
-
Merge pull request #7 from whitequark/patch-1
Mark .debug_gdb_scripts as non-allocatable
Configuration menu - View commit details
-
Copy full SHA for 2adb3a2 - Browse repository at this point
Copy the full SHA 2adb3a2View commit details
Commits on May 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 6410a65 - Browse repository at this point
Copy the full SHA 6410a65View commit details
Commits on May 26, 2017
-
Explicitly place non-suffixed sections
The `*(.data.*);` command does not place the `.data` section, which may lead to incorrect placement of symbols, etc. I have not verified that the current linker script leads to broken products, but if not it is by accident.
Configuration menu - View commit details
-
Copy full SHA for bf375ae - Browse repository at this point
Copy the full SHA bf375aeView commit details -
Merge pull request #9 from whitequark/patch-2
Explicitly place non-suffixed sections
Configuration menu - View commit details
-
Copy full SHA for 2d30f46 - Browse repository at this point
Copy the full SHA 2d30f46View commit details -
Rename __exceptions/__interrupts symbols to reduce confusion.
Right now these symbols get placed *after* their respective contents, but not named to indicate that.
Configuration menu - View commit details
-
Copy full SHA for aa2321c - Browse repository at this point
Copy the full SHA aa2321cView commit details -
Merge pull request #10 from whitequark/patch-3
Rename __exceptions/__interrupts symbols to reduce confusion
Configuration menu - View commit details
-
Copy full SHA for e6f4b1e - Browse repository at this point
Copy the full SHA e6f4b1eView commit details -
reorders the linker sections; make the reset_handler the entry point
Before this commit the .rodata sections of the inputs were placed in the output .text section. As the vector table is in the .rodata of the cortex-m-rt crate this placed the vector table first in the output .text section: ``` console $ arm-none-eabi-objdump -Cd hello Disassembly of section .text: 08000000 <_VECTOR_TABLE>: 8000000: 10002000 .word 0x10002000 08000004 <cortex_m_rt::RESET_HANDLER>: 8000004: 08000405 .... (..) $ arm-none-eabi-readelf -h hello | grep Entry Entry point address: 0x8000000 ``` With this memory layout using `load` and then `step` on a GDB session made the processor execute the vector table (PC = 0x08000000). This commit places the .rodata sections of the inputs into the output .rodata section, and also moves the reset_handler code to the start the output .text section. This turns the reset_handler into the entry point of the program. ``` console $ arm-none-eabi-objdump -Cd hello Disassembly of section .text: 08000410 <cortex_m_rt::reset_handler>: (..) $ arm-none-eabi-readelf -h hello | grep Entry Entry point address: 0x8000410 ``` With these changes the GDB commands `load` and `step` work correctly: `load` sets the PC = reset_handler. Also the `size` output is now more helpful: ``` console $ arm-none-eabi-size -Ax hello section size addr .vector_table 0x400 0x8000000 .text 0x120 0x8000400 .rodata 0xd 0x8000520 .bss 0x4 0x20000000 .data 0x4 0x20000004 ```
Configuration menu - View commit details
-
Copy full SHA for 7895609 - Browse repository at this point
Copy the full SHA 7895609View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44995b0 - Browse repository at this point
Copy the full SHA 44995b0View commit details
Commits on May 27, 2017
-
update CHANGELOG; revert .rodata to .vector_table rename in input sec…
…tions downstream crates depend on the name of those linker sections. Avoiding the rename let us release a patch version instead of a minor one.
Configuration menu - View commit details
-
Copy full SHA for 6f86357 - Browse repository at this point
Copy the full SHA 6f86357View commit details -
Merge pull request #8 from japaric/entry
reorder the linker sections; make reset_handler the entry point
Configuration menu - View commit details
-
Copy full SHA for 890cc3b - Browse repository at this point
Copy the full SHA 890cc3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4848357 - Browse repository at this point
Copy the full SHA 4848357View commit details -
Merge pull request #11 from japaric/heap
add a _sheap symbol where a heap can be located
Configuration menu - View commit details
-
Copy full SHA for 7b2ac2e - Browse repository at this point
Copy the full SHA 7b2ac2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe0ba08 - Browse repository at this point
Copy the full SHA fe0ba08View commit details
Commits on May 29, 2017
-
Added a optional .reserved region between .vector_table and .text, se…
…t text_offset in memory.x to override default value of 0
Configuration menu - View commit details
-
Copy full SHA for a88895f - Browse repository at this point
Copy the full SHA a88895fView commit details
Commits on May 30, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c3b5907 - Browse repository at this point
Copy the full SHA c3b5907View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e11ee - Browse repository at this point
Copy the full SHA 32e11eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 321f5a0 - Browse repository at this point
Copy the full SHA 321f5a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 506fd6a - Browse repository at this point
Copy the full SHA 506fd6aView commit details -
Explicitly set start of .text instead of padding between .vector_tabl…
…e and .data with a .reserved section. The main reason for this change was that assertions aren't evaluated after decrementing the location pointer (which happend when _stext < _einterrupts before this commit). If the .reserved region is in fact desired it's addition should be implemented in a different manner
Configuration menu - View commit details
-
Copy full SHA for f382845 - Browse repository at this point
Copy the full SHA f382845View commit details
Commits on May 31, 2017
-
Merge pull request #14 from kjetilkjeka/master
[WIP] Optional .reserved region between .vector_table and .text
Configuration menu - View commit details
-
Copy full SHA for 5dcef21 - Browse repository at this point
Copy the full SHA 5dcef21View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5f9afb - Browse repository at this point
Copy the full SHA f5f9afbView commit details
Commits on Jun 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for d944077 - Browse repository at this point
Copy the full SHA d944077View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2af5e2 - Browse repository at this point
Copy the full SHA a2af5e2View commit details
Commits on Jun 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a81bb98 - Browse repository at this point
Copy the full SHA a81bb98View commit details
There are no files selected for viewing
This file was deleted.