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:
authorGeoffrey Keating <geoffk@geoffk.org>2001-03-09 10:31:34 +0300
committerGeoffrey Keating <geoffk@geoffk.org>2001-03-09 10:31:34 +0300
commitd775a1ab081315aec3151b69276cf709c2496317 (patch)
treeb5091d7d6a783e62657fffaa195d4b812da52d95 /libgloss/rs6000
parente69b6f73d760b364bcf7782354a28e69091f7023 (diff)
* rs6000/simulator.S (dup): New syscall.
Diffstat (limited to 'libgloss/rs6000')
-rw-r--r--libgloss/rs6000/simulator.S9
1 files changed, 8 insertions, 1 deletions
diff --git a/libgloss/rs6000/simulator.S b/libgloss/rs6000/simulator.S
index 8859b5b3a..e8c18380c 100644
--- a/libgloss/rs6000/simulator.S
+++ b/libgloss/rs6000/simulator.S
@@ -1,7 +1,7 @@
/*
* simulator.S -- PowerPC simulator system calls.
*
- * Copyright (c) 1995, 2000 Cygnus Support
+ * Copyright (c) 1995, 2000, 2001 Cygnus Support
*
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
@@ -72,6 +72,13 @@ FUNC_START(access)
b FUNC_NAME(_cerror)
FUNC_END(access)
+FUNC_START(dup)
+ li r0,41
+ sc
+ bnslr+
+ b FUNC_NAME(_cerror)
+FUNC_END(dup)
+
FUNC_START(lseek)
li r0,199
sc