Parcourir la source

Merge #103

103: Remove superfluous parentheses from link.x r=almindor a=jannic

Fixes #102

Co-authored-by: Jan Niehusmann <jan@gondor.com>
bors[bot] il y a 2 ans
Parent
commit
93bc768265
2 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 4 0
      riscv-rt/CHANGELOG.md
  2. 2 2
      riscv-rt/link.x

+ 4 - 0
riscv-rt/CHANGELOG.md

@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
 
 ## [Unreleased]
 
+### Changed
+
+- Remove superfluous parentheses from link.x, which caused linker errors with nightly.
+
 ## [v0.9.0] - 2022-07-01
 
 ### Added

+ 2 - 2
riscv-rt/link.x

@@ -55,8 +55,8 @@ SECTIONS
     KEEP(*(.init));
     KEEP(*(.init.rust));
     . = ALIGN(4);
-    (*(.trap));
-    (*(.trap.rust));
+    *(.trap);
+    *(.trap.rust);
 
     *(.text .text.*);
   } > REGION_TEXT