2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>

* nds32/Makefile.in: Alter filename.
        * nds32/syscall_argv.S: Rename to _argv.S
        * nds32/syscall_argvlen.S: Rename to _argvlen.S
        * nds32/syscall_chdir.S: Rename to _chdir.S
        * nds32/syscall_chmod.S: Rename to _chmod.S
        * nds32/syscall_close.S: Rename to _close.S
        * nds32/syscall_exit.S: Rename to _exit.S
        * nds32/syscall_fstat.S: Rename to _fstat.S
        * nds32/syscall_getpid.S: Rename to _getpid.S
        * nds32/syscall_gettimeofday.S: Rename to _gettimeofday.S
        * nds32/syscall_isatty.S: Rename to _isatty.S
        * nds32/syscall_kill.S: Rename to _kill.S
        * nds32/syscall_link.S: Rename to _link.S
        * nds32/syscall_lseek.S: Rename to _lseek.S
        * nds32/syscall_open.S: Rename to _open.S
        * nds32/syscall_read.S: Rename to _read.S
        * nds32/syscall_rename.S: Rename to _rename.S
        * nds32/syscall_sbrk.S: Rename to _sbrk.S
        * nds32/syscall_stat.S: Rename to _stat.S
        * nds32/syscall_system.S: Rename to _system.S
        * nds32/syscall_time.S: Rename to _time.S
        * nds32/syscall_times.S: Rename to _times.S
        * nds32/syscall_unlink.S: Rename to _unlink.S
        * nds32/syscall_utime.S: Rename to _utime.S
        * nds32/syscall_write.S: Rename to _write.S
This commit is contained in:
Jeff Johnston 2014-03-21 20:55:57 +00:00
parent 8194dcec36
commit 31b1f3e55f
26 changed files with 60 additions and 30 deletions

View File

@ -1,3 +1,31 @@
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
* nds32/Makefile.in: Alter filename.
* nds32/syscall_argv.S: Rename to _argv.S
* nds32/syscall_argvlen.S: Rename to _argvlen.S
* nds32/syscall_chdir.S: Rename to _chdir.S
* nds32/syscall_chmod.S: Rename to _chmod.S
* nds32/syscall_close.S: Rename to _close.S
* nds32/syscall_exit.S: Rename to _exit.S
* nds32/syscall_fstat.S: Rename to _fstat.S
* nds32/syscall_getpid.S: Rename to _getpid.S
* nds32/syscall_gettimeofday.S: Rename to _gettimeofday.S
* nds32/syscall_isatty.S: Rename to _isatty.S
* nds32/syscall_kill.S: Rename to _kill.S
* nds32/syscall_link.S: Rename to _link.S
* nds32/syscall_lseek.S: Rename to _lseek.S
* nds32/syscall_open.S: Rename to _open.S
* nds32/syscall_read.S: Rename to _read.S
* nds32/syscall_rename.S: Rename to _rename.S
* nds32/syscall_sbrk.S: Rename to _sbrk.S
* nds32/syscall_stat.S: Rename to _stat.S
* nds32/syscall_system.S: Rename to _system.S
* nds32/syscall_time.S: Rename to _time.S
* nds32/syscall_times.S: Rename to _times.S
* nds32/syscall_unlink.S: Rename to _unlink.S
* nds32/syscall_utime.S: Rename to _utime.S
* nds32/syscall_write.S: Rename to _write.S
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
* nds32/syscall_argv.S: Correct the method to set errno.

View File

@ -68,11 +68,11 @@ CRT1 = crt1.o
SYSCALLS1 = syscall_exit.o syscall_open.o syscall_close.o syscall_read.o syscall_write.o
SYSCALLS2 = syscall_lseek.o syscall_unlink.o syscall_getpid.o syscall_kill.o syscall_fstat.o
SYSCALLS3 = syscall_argvlen.o syscall_argv.o syscall_chdir.o syscall_stat.o syscall_chmod.o
SYSCALLS4 = syscall_utime.o syscall_time.o syscall_gettimeofday.o syscall_times.o syscall_link.o
SYSCALLS5 = syscall_rename.o syscall_isatty.o syscall_system.o syscall_sbrk.o syscall_error_handler.o
SYSCALLS1 = _exit.o _open.o _close.o _read.o _write.o
SYSCALLS2 = _lseek.o _unlink.o _getpid.o _kill.o _fstat.o
SYSCALLS3 = _argvlen.o _argv.o _chdir.o _stat.o _chmod.o
SYSCALLS4 = _utime.o _time.o _gettimeofday.o _times.o _link.o
SYSCALLS5 = _rename.o _isatty.o _system.o _sbrk.o syscall_error_handler.o
SYSCALLS = $(SYSCALLS1) $(SYSCALLS2) $(SYSCALLS3) $(SYSCALLS4) $(SYSCALLS5)
GENERIC_LIBOBJS =
@ -119,27 +119,28 @@ config.status: configure
# to support SunOS VPATH
crt0.o: crt0.S
crt1.o: crt1.S
syscall_exit.o: syscall_exit.S
syscall_open.o: syscall_open.S
syscall_close.o: syscall_close.S
syscall_read.o: syscall_read.S
syscall_write.o: syscall_write.S
syscall_lseek.o: syscall_lseek.S
syscall_unlink.o: syscall_unlink.S
syscall_getpid.o: syscall_getpid.S
syscall_kill.o: syscall_kill.S
syscall_fstat.o: syscall_fstat.S
syscall_argvlen.o: syscall_argvlen.S
syscall_argv.o: syscall_argv.S
syscall_chdir.o: syscall_chdir.S
syscall_stat.o: syscall_stat.S
syscall_chmod.o: syscall_chmod.S
syscall_utime.o: syscall_utime.S
syscall_time.o: syscall_time.S
syscall_gettimeofday.o: syscall_gettimeofday.S
syscall_times.o: syscall_times.S
syscall_link.o: syscall_link.S
syscall_rename.o: syscall_rename.S
syscall_isatty.o: syscall_isatty.S
syscall_system.o: syscall_system.S
syscall_sbrk.o: syscall_sbrk.S
_exit.o: _exit.S
_open.o: _open.S
_close.o: _close.S
_read.o: _read.S
_write.o: _write.S
_lseek.o: _lseek.S
_unlink.o: _unlink.S
_getpid.o: _getpid.S
_kill.o: _kill.S
_fstat.o: _fstat.S
_argvlen.o: _argvlen.S
_argv.o: _argv.S
_chdir.o: _chdir.S
_stat.o: _stat.S
_chmod.o: _chmod.S
_utime.o: _utime.S
_time.o: _time.S
_gettimeofday.o: _gettimeofday.S
_times.o: _times.S
_link.o: _link.S
_rename.o: _rename.S
_isatty.o: _isatty.S
_system.o: _system.S
_sbrk.o: _sbrk.S
syscall_error_handler.o: syscall_error_handler.S

View File

@ -27,7 +27,8 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "syscall.h"
#include "../syscall.h"
#include "syscall_extra.h"
.section .text