This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, Under mingw, files are opened by default in text mode which means /n/r is converted into /n but since we are reading in binary files, this confuses the rest of the linker. OK? Built and tested on i686-linux-gnu. Thanks, Andrew Pinski ChangeLog: * descriptor.c: Include binary-io.h. (Descriptors::open): Open the files in binary mode always.
Attachment:
binary.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |