diff options
author | Nick Clifton <nickc@redhat.com> | 2008-04-28 08:30:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-04-28 08:30:23 +0000 |
commit | 417ed8af836c10ff5c0cbcdc4c011f5024a7269b (patch) | |
tree | e8226b5010a9af926802fd3a80993c68c852c791 /binutils/ar.c | |
parent | 03ffc2d0a62908f72e010495ebd7f5a7efe08e3f (diff) | |
download | gdb-417ed8af836c10ff5c0cbcdc4c011f5024a7269b.zip gdb-417ed8af836c10ff5c0cbcdc4c011f5024a7269b.tar.gz gdb-417ed8af836c10ff5c0cbcdc4c011f5024a7269b.tar.bz2 |
PR binutils/6449
* objdump.c (slurp_file): Open the file in binary mode.
* ar.c: Remove conditional definition of O_BINARY.
* bin2.c: Likewise.
* rename.c: Likewise.
* strings.c: Likewise.
* sysdep.h: Add conditional definition of O_BINARY.
Diffstat (limited to 'binutils/ar.c')
-rw-r--r-- | binutils/ar.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/binutils/ar.c b/binutils/ar.c index 71f4d73..f493221 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -45,12 +45,6 @@ #define EXT_NAME_LEN 6 /* Ditto for *NIX. */ #endif -/* We need to open files in binary modes on system where that makes a - difference. */ -#ifndef O_BINARY -#define O_BINARY 0 -#endif - /* Kludge declaration from BFD! This is ugly! FIXME! XXX */ struct ar_hdr * |