Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 1 – 22 of 22) sorted by relevance

/toolchain/binutils/binutils-2.25/ld/
Dsysdep.h83 #ifndef O_RDONLY
84 #define O_RDONLY 0 macro
93 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
Dldbuildid.c125 int fd = open ("/dev/urandom", O_RDONLY); in generate_build_id()
Dldfile.c328 int fd = open (attempt, O_RDONLY | O_BINARY); in ldfile_try_open_bfd()
Dldmain.c803 int fd = open (filename, O_RDONLY | O_BINARY); in add_archive_element()
DChangeLog-2010574 (O_RDONLY): Supply default definition likewise to bfd's sysdep.h
/toolchain/binutils/binutils-2.25/bfd/
Dsysdep.h99 #ifndef O_RDONLY
100 #define O_RDONLY 0 macro
109 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
Dcoff-stgo32.c304 f = open (stub, O_RDONLY | O_BINARY); in create_go32_stub()
306 f = open (stub, O_RDONLY); in create_go32_stub()
Dopncls.c351 case O_RDONLY: mode = FOPEN_RB; break; in bfd_fdopenr()
/toolchain/binutils/binutils-2.25/binutils/
Dsysdep.h119 #ifndef O_RDONLY
120 #define O_RDONLY 0 macro
Drename.c49 fromfd = open (from, O_RDONLY | O_BINARY); in simple_copy()
Dobjdump.c1129 int fd = open (fn, O_RDONLY | O_BINARY); in slurp_file()
DChangeLog-91972198 O_RDONLY and O_RDWR if necessary.
/toolchain/binutils/binutils-2.25/libiberty/
Daclocal.m438 #ifndef O_RDONLY
39 #define O_RDONLY 0
50 dev_zero = open ("/dev/zero", O_RDONLY);
Dpex-djgpp.c86 return open (name, O_RDONLY | (binary ? O_BINARY : O_TEXT)); in pex_djgpp_open_read()
Dpex-unix.c346 return open (name, O_RDONLY); in pex_unix_open_read()
/toolchain/binutils/binutils-2.25/bfd/hosts/
Dalphavms.h49 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
/toolchain/binutils/binutils-2.25/gold/testsuite/
Dbinary_unittest.cc80 int o = open_descriptor(-1, gold::program_name, O_RDONLY); in Sized_binary_test()
/toolchain/binutils/binutils-2.25/gold/
Ddescriptors.cc166 pod->is_write = (flags & O_ACCMODE) != O_RDONLY; in open()
Dfileread.cc201 O_RDONLY); in open()
247 O_RDONLY); in reopen_descriptor()
Doutput.cc4944 int oflags = writable ? O_RDWR : O_RDONLY; in open_base_file()
Dlayout.cc3125 int descriptor = open_descriptor(-1, "/dev/urandom", O_RDONLY); in create_build_id()
/toolchain/binutils/binutils-2.25/intl/
Dloadmsgcat.c937 fd = open (domain_file->filename, O_RDONLY | O_BINARY);