public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: nltvals: drop i960
@ 2021-11-28  5:57 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2021-11-28  5:57 UTC (permalink / raw)
  To: gdb-patches

This port was dropped from gdb/bfd/sim years ago, so stop including
its syscall constants too.
---
 sim/common/gennltvals.py |  3 ++-
 sim/common/nltvals.def   | 25 -------------------------
 2 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/sim/common/gennltvals.py b/sim/common/gennltvals.py
index 3006f7f58fe4..66ee9c567536 100755
--- a/sim/common/gennltvals.py
+++ b/sim/common/gennltvals.py
@@ -49,7 +49,8 @@ PROG = Path(__file__).name
 TARGET_DIRS = {
     'cr16': 'libgloss/cr16/sys',
     'd10v': 'newlib/libc/sys/d10v/sys',
-    'i960': 'libgloss/i960',
+    # Port removed from the tree years ago.
+    #'i960': 'libgloss/i960',
     'mcore': 'libgloss/mcore',
     'riscv': 'libgloss/riscv/machine',
     'sh': 'newlib/libc/sys/sh/sys',
diff --git a/sim/common/nltvals.def b/sim/common/nltvals.def
index 54035cef698f..2425b70e490a 100644
--- a/sim/common/nltvals.def
+++ b/sim/common/nltvals.def
@@ -71,31 +71,6 @@
 /* end d10v sys target macros */
 #endif
 #endif
-#ifdef NL_TARGET_i960
-#ifdef sys_defs
-/* from syscall.h */
-/* begin i960 sys target macros */
- { "SYS_argv", 13 },
- { "SYS_argvlen", 12 },
- { "SYS_chdir", 14 },
- { "SYS_chmod", 16 },
- { "SYS_close", 234 },
- { "SYS_exit", 257 },
- { "SYS_fstat", 10 },
- { "SYS_getpid", 8 },
- { "SYS_kill", 9 },
- { "SYS_lseek", 233 },
- { "SYS_open", 230 },
- { "SYS_read", 231 },
- { "SYS_stat", 15 },
- { "SYS_time", 18 },
- { "SYS_unlink", 7 },
- { "SYS_utime", 17 },
- { "SYS_write", 232 },
-#undef sys_defs
-/* end i960 sys target macros */
-#endif
-#endif
 #ifdef NL_TARGET_mcore
 #ifdef sys_defs
 /* from syscall.h */
-- 
2.33.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-28  5:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-28  5:57 [PATCH] sim: nltvals: drop i960 Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).