diff options
author | Anthony Green <green@moxielogic.com> | 2019-12-14 05:27:38 -0500 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2019-12-14 05:27:38 -0500 |
commit | 78b7a3b0f879715f6078720aaa07e0fb6156b586 (patch) | |
tree | 610e4d47e23acbe02c7797dcf84482688fd076d0 | |
parent | 31227ba53d39ec1dac19a488c967ebbe9a04c19a (diff) | |
download | cygnal-78b7a3b0f879715f6078720aaa07e0fb6156b586.tar.gz cygnal-78b7a3b0f879715f6078720aaa07e0fb6156b586.tar.bz2 cygnal-78b7a3b0f879715f6078720aaa07e0fb6156b586.zip |
Implement the unlink system call for the moxie simulator.
Corresponding support for this was just added to the gdb moxie simulator.
Unlink support is required by the GCC testsuite.
-rw-r--r-- | libgloss/moxie/sim-unlink.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgloss/moxie/sim-unlink.S b/libgloss/moxie/sim-unlink.S index 87ae90fad..e6bd7dc2a 100644 --- a/libgloss/moxie/sim-unlink.S +++ b/libgloss/moxie/sim-unlink.S @@ -1,7 +1,7 @@ /* * sim-unlink.S -- write interface for moxie simulator * - * Copyright (c) 2008 Anthony Green + * Copyright (c) 2008, 2019 Anthony Green * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided @@ -22,7 +22,7 @@ .text _unlink: unlink: - jmpa unlink + swi SYS_unlink ret .Lend: .size _unlink,.Lend-_unlink |