Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/nds32/_gettimeofday.S')
-rw-r--r--libgloss/nds32/_gettimeofday.S10
1 files changed, 8 insertions, 2 deletions
diff --git a/libgloss/nds32/_gettimeofday.S b/libgloss/nds32/_gettimeofday.S
index adc5f6847..e78bd5e19 100644
--- a/libgloss/nds32/_gettimeofday.S
+++ b/libgloss/nds32/_gettimeofday.S
@@ -30,13 +30,19 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifdef __NDS32_VH__
#include "vh.h"
-.extern _impure_ptr
TYPE3 _gettimeofday, VH_GETTIMEOFDAY
#else /* not __NDS32_VH__ */
#include "../syscall.h"
#include "syscall_extra.h"
-SYS_WRAPPER _gettimeofday, SYS_gettimeofday
+ .text
+ .global _gettimeofday
+ .type _gettimeofday, @function
+ .align 2
+_gettimeofday:
+ syscall SYS_gettimeofday
+ ret
+ .size _gettimeofday, .-_gettimeofday
#endif /* not __NDS32_VH__ */