remove binutils patch, fix already in latest snapshot

This commit is contained in:
Dave Murphy
2008-05-01 16:55:51 +00:00
parent f55136458f
commit d1a50627af

View File

@@ -1,26 +0,0 @@
--- binutils-2.18.50_org/binutils/objdump.c Sat Mar 1 07:19:06 2008
+++ binutils-2.18.50/binutils/objdump.c Thu Mar 13 12:29:47 2008
@@ -70,6 +70,14 @@
#include <sys/stat.h>
+#ifndef O_BINARY
+#ifdef _O_BINARY
+#define O_BINARY _O_BINARY
+#else
+#define O_BINARY 0
+#endif
+#endif
+
/* Internal headers for the ELF .stab-dump code - sorry. */
#define BYTES_IN_WORD 32
#include "aout/aout64.h"
@@ -975,7 +983,7 @@
#endif
const char *map;
struct stat st;
- int fd = open (fn, O_RDONLY);
+ int fd = open (fn, O_RDONLY | O_BINARY);
if (fd < 0)
return NULL;