diff options
author | Nick Clifton <nickc@redhat.com> | 2015-10-06 19:33:16 +0300 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-10-06 19:33:16 +0300 |
commit | 3b8933900fe28efec3511d32f7a7c6cf0e5105a7 (patch) | |
tree | bbacdafc21691a2d2fc0a80c5ffd974327868f7f /libgloss/msp430/syscalls.S | |
parent | f296bb3569839b0217ec1a775165d239877e3548 (diff) |
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.
Diffstat (limited to 'libgloss/msp430/syscalls.S')
-rw-r--r-- | libgloss/msp430/syscalls.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libgloss/msp430/syscalls.S b/libgloss/msp430/syscalls.S index 8aa22ae8a..accd20496 100644 --- a/libgloss/msp430/syscalls.S +++ b/libgloss/msp430/syscalls.S @@ -64,3 +64,10 @@ _isatty: getpid: MOV #42,R12 ret_ + + .weak gettimeofday + .global gettimeofday +gettimeofday: + MOV #0,R12 + ret_ + .size gettimeofday , . - gettimeofday |