mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
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.
This commit is contained in:
@@ -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 *
|
||||
|
||||
Reference in New Issue
Block a user