mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-20 09:24:11 -05:00
remove binutils patch, fix already in latest snapshot
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user