You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/01/18 12:03:13 UTC

[incubator-nuttx] branch master updated: boards: Remove unnecessary section descriptions from linker scripts of RISC-V boards (#124)

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ce9b01  boards: Remove unnecessary section descriptions from linker scripts of RISC-V boards (#124)
5ce9b01 is described below

commit 5ce9b01b54524adea9f98409b831c702933c040a
Author: Yoshinori Sugino <ys...@gmail.com>
AuthorDate: Sat Jan 18 21:03:04 2020 +0900

    boards: Remove unnecessary section descriptions from linker scripts of RISC-V boards (#124)
    
    * boards/risc-v: Remove unnecessary section descriptions from ld-qemu.script
    These section descriptions are for ARM and not needed for RISC-V.
---
 boards/risc-v/fe310/hifive1-revb/scripts/ld-qemu.script | 10 ----------
 boards/risc-v/fe310/hifive1-revb/scripts/ld.script      | 10 ----------
 boards/risc-v/k210/maix-bit/scripts/ld.script           | 10 ----------
 3 files changed, 30 deletions(-)

diff --git a/boards/risc-v/fe310/hifive1-revb/scripts/ld-qemu.script b/boards/risc-v/fe310/hifive1-revb/scripts/ld-qemu.script
index 421bacc..00e2e25 100644
--- a/boards/risc-v/fe310/hifive1-revb/scripts/ld-qemu.script
+++ b/boards/risc-v/fe310/hifive1-revb/scripts/ld-qemu.script
@@ -67,16 +67,6 @@ SECTIONS
         _einit = ABSOLUTE(.);
     } > flash
 
-    .ARM.extab : ALIGN(4) {
-        *(.ARM.extab*)
-    } > flash
-
-    .ARM.exidx : ALIGN(4) {
-        __exidx_start = ABSOLUTE(.);
-        *(.ARM.exidx*)
-        __exidx_end = ABSOLUTE(.);
-    } > flash
-
     _eronly = ABSOLUTE(.);
 
     .data : ALIGN(4) {
diff --git a/boards/risc-v/fe310/hifive1-revb/scripts/ld.script b/boards/risc-v/fe310/hifive1-revb/scripts/ld.script
index 797a482..ea553bc 100644
--- a/boards/risc-v/fe310/hifive1-revb/scripts/ld.script
+++ b/boards/risc-v/fe310/hifive1-revb/scripts/ld.script
@@ -67,16 +67,6 @@ SECTIONS
         _einit = ABSOLUTE(.);
     } > flash
 
-    .ARM.extab : ALIGN(4) {
-        *(.ARM.extab*)
-    } > flash
-
-    .ARM.exidx : ALIGN(4) {
-        __exidx_start = ABSOLUTE(.);
-        *(.ARM.exidx*)
-        __exidx_end = ABSOLUTE(.);
-    } > flash
-
     _eronly = ABSOLUTE(.);
 
     .data : ALIGN(4) {
diff --git a/boards/risc-v/k210/maix-bit/scripts/ld.script b/boards/risc-v/k210/maix-bit/scripts/ld.script
index 4809de0..ed2b253 100644
--- a/boards/risc-v/k210/maix-bit/scripts/ld.script
+++ b/boards/risc-v/k210/maix-bit/scripts/ld.script
@@ -74,16 +74,6 @@ SECTIONS
         _einit = ABSOLUTE(.);
     } > progmem
 
-    .ARM.extab : ALIGN(4) {
-        *(.ARM.extab*)
-    } > progmem
-
-    .ARM.exidx : ALIGN(4) {
-        __exidx_start = ABSOLUTE(.);
-        *(.ARM.exidx*)
-        __exidx_end = ABSOLUTE(.);
-    } > progmem
-
     _eronly = ABSOLUTE(.);
 
     .data : ALIGN(4) {