Skip to content
This repository was archived by the owner on Nov 28, 2023. It is now read-only.

Backport linker script fixes to 0.6.x, release v0.6.2 #64

Merged
merged 3 commits into from
Jul 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "riscv-rt"
version = "0.6.1"
version = "0.6.2"
repository = "https://github.com/rust-embedded/riscv-rt"
authors = ["The RISC-V Team <[email protected]>"]
categories = ["embedded", "no-std"]
Expand Down
8 changes: 3 additions & 5 deletions link.x
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ SECTIONS

.rodata : ALIGN(4)
{
*(.srodata .srodata.*);
*(.rodata .rodata.*);

/* 4-byte align the end (VMA) of this section.
Expand Down Expand Up @@ -97,11 +98,8 @@ SECTIONS
KEEP(*(.got .got.*));
}

/* Discard .eh_frame, we are not doing unwind on panic so it is not needed */
/DISCARD/ :
{
*(.eh_frame);
}
.eh_frame (INFO) : { KEEP(*(.eh_frame)) }
.eh_frame_hdr (INFO) : { *(.eh_frame_hdr) }
}

/* Do not exceed this mark in the error messages above | */
Expand Down