]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/cris/traps.c
cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
authorHans-Peter Nilsson <hp@axis.com>
Sun, 20 Nov 2005 14:52:36 +0000 (14:52 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Sun, 20 Nov 2005 14:52:36 +0000 (14:52 +0000)
commit8b9b39f44acae15c55a487460d779a7068c27bb4
treec0e53a305bba8980a5fcf72fb6296a59e968b0e2
parent9d29849ad8657f07cf5b1b4cb680630fcf5f3efa
cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
(open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
TARGET_O_WRONLY.
(cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
F_GETFL on fd 0, 1 and 2.
sim/ChangeLog
sim/cris/traps.c