diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index e25b729e7..0b4e4f540 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,31 @@ +2014-03-21 Sabrini Ni + + * 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 * nds32/syscall_argv.S: Correct the method to set errno. diff --git a/libgloss/nds32/Makefile.in b/libgloss/nds32/Makefile.in index 976e9ad77..99ccae814 100644 --- a/libgloss/nds32/Makefile.in +++ b/libgloss/nds32/Makefile.in @@ -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 diff --git a/libgloss/nds32/syscall_argv.S b/libgloss/nds32/_argv.S similarity index 100% rename from libgloss/nds32/syscall_argv.S rename to libgloss/nds32/_argv.S diff --git a/libgloss/nds32/syscall_argvlen.S b/libgloss/nds32/_argvlen.S similarity index 100% rename from libgloss/nds32/syscall_argvlen.S rename to libgloss/nds32/_argvlen.S diff --git a/libgloss/nds32/syscall_chdir.S b/libgloss/nds32/_chdir.S similarity index 100% rename from libgloss/nds32/syscall_chdir.S rename to libgloss/nds32/_chdir.S diff --git a/libgloss/nds32/syscall_chmod.S b/libgloss/nds32/_chmod.S similarity index 100% rename from libgloss/nds32/syscall_chmod.S rename to libgloss/nds32/_chmod.S diff --git a/libgloss/nds32/syscall_close.S b/libgloss/nds32/_close.S similarity index 100% rename from libgloss/nds32/syscall_close.S rename to libgloss/nds32/_close.S diff --git a/libgloss/nds32/syscall_exit.S b/libgloss/nds32/_exit.S similarity index 96% rename from libgloss/nds32/syscall_exit.S rename to libgloss/nds32/_exit.S index c886fc410..46a204054 100644 --- a/libgloss/nds32/syscall_exit.S +++ b/libgloss/nds32/_exit.S @@ -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 diff --git a/libgloss/nds32/syscall_fstat.S b/libgloss/nds32/_fstat.S similarity index 100% rename from libgloss/nds32/syscall_fstat.S rename to libgloss/nds32/_fstat.S diff --git a/libgloss/nds32/syscall_getpid.S b/libgloss/nds32/_getpid.S similarity index 100% rename from libgloss/nds32/syscall_getpid.S rename to libgloss/nds32/_getpid.S diff --git a/libgloss/nds32/syscall_gettimeofday.S b/libgloss/nds32/_gettimeofday.S similarity index 100% rename from libgloss/nds32/syscall_gettimeofday.S rename to libgloss/nds32/_gettimeofday.S diff --git a/libgloss/nds32/syscall_isatty.S b/libgloss/nds32/_isatty.S similarity index 100% rename from libgloss/nds32/syscall_isatty.S rename to libgloss/nds32/_isatty.S diff --git a/libgloss/nds32/syscall_kill.S b/libgloss/nds32/_kill.S similarity index 100% rename from libgloss/nds32/syscall_kill.S rename to libgloss/nds32/_kill.S diff --git a/libgloss/nds32/syscall_link.S b/libgloss/nds32/_link.S similarity index 100% rename from libgloss/nds32/syscall_link.S rename to libgloss/nds32/_link.S diff --git a/libgloss/nds32/syscall_lseek.S b/libgloss/nds32/_lseek.S similarity index 100% rename from libgloss/nds32/syscall_lseek.S rename to libgloss/nds32/_lseek.S diff --git a/libgloss/nds32/syscall_open.S b/libgloss/nds32/_open.S similarity index 100% rename from libgloss/nds32/syscall_open.S rename to libgloss/nds32/_open.S diff --git a/libgloss/nds32/syscall_read.S b/libgloss/nds32/_read.S similarity index 100% rename from libgloss/nds32/syscall_read.S rename to libgloss/nds32/_read.S diff --git a/libgloss/nds32/syscall_rename.S b/libgloss/nds32/_rename.S similarity index 100% rename from libgloss/nds32/syscall_rename.S rename to libgloss/nds32/_rename.S diff --git a/libgloss/nds32/syscall_sbrk.S b/libgloss/nds32/_sbrk.S similarity index 100% rename from libgloss/nds32/syscall_sbrk.S rename to libgloss/nds32/_sbrk.S diff --git a/libgloss/nds32/syscall_stat.S b/libgloss/nds32/_stat.S similarity index 100% rename from libgloss/nds32/syscall_stat.S rename to libgloss/nds32/_stat.S diff --git a/libgloss/nds32/syscall_system.S b/libgloss/nds32/_system.S similarity index 100% rename from libgloss/nds32/syscall_system.S rename to libgloss/nds32/_system.S diff --git a/libgloss/nds32/syscall_time.S b/libgloss/nds32/_time.S similarity index 100% rename from libgloss/nds32/syscall_time.S rename to libgloss/nds32/_time.S diff --git a/libgloss/nds32/syscall_times.S b/libgloss/nds32/_times.S similarity index 100% rename from libgloss/nds32/syscall_times.S rename to libgloss/nds32/_times.S diff --git a/libgloss/nds32/syscall_unlink.S b/libgloss/nds32/_unlink.S similarity index 100% rename from libgloss/nds32/syscall_unlink.S rename to libgloss/nds32/_unlink.S diff --git a/libgloss/nds32/syscall_utime.S b/libgloss/nds32/_utime.S similarity index 100% rename from libgloss/nds32/syscall_utime.S rename to libgloss/nds32/_utime.S diff --git a/libgloss/nds32/syscall_write.S b/libgloss/nds32/_write.S similarity index 100% rename from libgloss/nds32/syscall_write.S rename to libgloss/nds32/_write.S