Cleanup whitespaces

Signed-off-by: Claire Wolf <claire@symbioticeda.com>
This commit is contained in:
Larry Doolittle 2020-04-23 17:58:32 +02:00 committed by Claire Wolf
parent 409d0dfd67
commit 9129d18bf5
7 changed files with 9 additions and 9 deletions

View File

@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st)
void *_sbrk(ptrdiff_t incr) void *_sbrk(ptrdiff_t incr)
{ {
extern unsigned char _end[]; // Defined by linker extern unsigned char _end[]; // Defined by linker
static unsigned long heap_end; static unsigned long heap_end;
if (heap_end == 0) if (heap_end == 0)

View File

@ -59,9 +59,9 @@ SECTIONS
.gcc_except_table : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) } .gcc_except_table : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
.exception_ranges : ONLY_IF_RW { *(.exception_ranges .exception_ranges*) } .exception_ranges : ONLY_IF_RW { *(.exception_ranges .exception_ranges*) }
/* Thread Local Storage sections */ /* Thread Local Storage sections */
.tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) } .tdata : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
.tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) } .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
.preinit_array : .preinit_array :
{ {
PROVIDE_HIDDEN (__preinit_array_start = .); PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP (*(.preinit_array)) KEEP (*(.preinit_array))

View File

@ -46,7 +46,7 @@ module spiflash (
); );
localparam verbose = 0; localparam verbose = 0;
localparam integer latency = 8; localparam integer latency = 8;
reg [7:0] buffer; reg [7:0] buffer;
integer bitcount = 0; integer bitcount = 0;
integer bytecount = 0; integer bytecount = 0;

View File

@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st)
void *_sbrk(ptrdiff_t incr) void *_sbrk(ptrdiff_t incr)
{ {
extern unsigned char _end[]; // Defined by linker extern unsigned char _end[]; // Defined by linker
static unsigned long heap_end; static unsigned long heap_end;
if (heap_end == 0) if (heap_end == 0)

View File

@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st)
void *_sbrk(ptrdiff_t incr) void *_sbrk(ptrdiff_t incr)
{ {
extern unsigned char _end[]; // Defined by linker extern unsigned char _end[]; // Defined by linker
static unsigned long heap_end; static unsigned long heap_end;
if (heap_end == 0) if (heap_end == 0)

View File

@ -4,7 +4,7 @@
int x1 = 1000; int x1 = 1000;
int x2 = 2000; int x2 = 2000;
void main() void main()
{ {
int z; int z;
x1 = 50; x1 = 50;

View File

@ -77,7 +77,7 @@ int _fstat(int file, struct stat *st)
void *_sbrk(ptrdiff_t incr) void *_sbrk(ptrdiff_t incr)
{ {
extern unsigned char _end[]; // Defined by linker extern unsigned char _end[]; // Defined by linker
static unsigned long heap_end; static unsigned long heap_end;
if (heap_end == 0) if (heap_end == 0)