From 701aac251322cf040ade58765ab41154f0a2bef7 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 28 May 2013 16:15:17 +0200 Subject: [PATCH] bios/linker.ld: flash -> rom --- software/bios/linker.ld | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/software/bios/linker.ld b/software/bios/linker.ld index f1d4cc1b..955d9e0b 100644 --- a/software/bios/linker.ld +++ b/software/bios/linker.ld @@ -4,8 +4,8 @@ ENTRY(_start) __DYNAMIC = 0; MEMORY { - flash : ORIGIN = 0x00860000, LENGTH = 0x20000 /* 128K */ - sram : ORIGIN = 0x10000000, LENGTH = 0x01000 /* 4K */ + rom : ORIGIN = 0x00860000, LENGTH = 0x20000 /* 128K */ + sram : ORIGIN = 0x10000000, LENGTH = 0x01000 /* 4K */ } SECTIONS @@ -15,7 +15,7 @@ SECTIONS _ftext = .; *(.text .stub .text.* .gnu.linkonce.t.*) _etext = .; - } > flash + } > rom .rodata : { @@ -24,7 +24,7 @@ SECTIONS *(.rodata .rodata.* .gnu.linkonce.r.*) *(.rodata1) _erodata = .; - } > flash + } > rom /* We shouldn't have a .data section, but the GNU crapchain whines if we don't */ .data : @@ -36,7 +36,7 @@ SECTIONS _gp = ALIGN(16); *(.sdata .sdata.* .gnu.linkonce.s.*) _edata = .; - } > flash + } > rom .bss : { -- 2.30.2