From 5ce9b01b54524adea9f98409b831c702933c040a Mon Sep 17 00:00:00 2001 From: Yoshinori Sugino Date: Sat, 18 Jan 2020 21:03:04 +0900 Subject: [PATCH] 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. --- .../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 421baccf010..00e2e25dae8 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 797a482ccba..ea553bcaf2c 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 4809de0d2f7..ed2b253c756 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) {