Skip to content

Commit 5b5b8b1

Browse files
Merge #285
285: `xtask assemble` fixes r=thalesfragoso a=jonas-schievink Closes #284 Co-authored-by: Jonas Schievink <[email protected]>
2 parents 94d3357 + 577f15b commit 5b5b8b1

16 files changed

+4
-1
lines changed

asm/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ shims! {
126126
/// handler gets linked in, this causes a linker error. We always build this file with optimizations
127127
/// enabled, but even without them the panic handler should never be linked in.
128128
#[panic_handler]
129+
#[link_section = ".text.asm_panic_handler"]
129130
fn panic(_: &core::panic::PanicInfo) -> ! {
130131
extern "C" {
131132
#[link_name = "cortex-m internal error: panic handler not optimized out, please file an \

bin/thumbv6m-none-eabi-lto.a

84 Bytes
Binary file not shown.

bin/thumbv6m-none-eabi.a

-192 Bytes
Binary file not shown.

bin/thumbv7em-none-eabi-lto.a

80 Bytes
Binary file not shown.

bin/thumbv7em-none-eabi.a

-192 Bytes
Binary file not shown.

bin/thumbv7em-none-eabihf-lto.a

84 Bytes
Binary file not shown.

bin/thumbv7em-none-eabihf.a

-192 Bytes
Binary file not shown.

bin/thumbv7m-none-eabi-lto.a

84 Bytes
Binary file not shown.

bin/thumbv7m-none-eabi.a

-192 Bytes
Binary file not shown.

bin/thumbv8m.base-none-eabi-lto.a

84 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)