Add support for persistent data to the MSP430 linker scripts.
* msp430/msp430-sim.ld: Add .persistent section. Tidy up section layout. Start RAM above hardware multiply registers. * msp430/msp430xl-sim.ld: Likewise.
This commit is contained in:
@@ -64,3 +64,10 @@ _isatty:
|
||||
getpid:
|
||||
MOV #42,R12
|
||||
ret_
|
||||
|
||||
.weak gettimeofday
|
||||
.global gettimeofday
|
||||
gettimeofday:
|
||||
MOV #0,R12
|
||||
ret_
|
||||
.size gettimeofday , . - gettimeofday
|
||||
|
Reference in New Issue
Block a user