⛏️ index : buildtools.git

author Alexander von Gluck IV <kallisti5@unixzen.com> 2014-03-11 20:59:29.0 -05:00:00
committer Alexander von Gluck IV <kallisti5@unixzen.com> 2014-03-11 21:00:01.0 -05:00:00
commit
f131d0c3165a39137046d039b0af41ee325407b4 [patch]
tree
1c2a50d3648f50dbb0e5febabbe30d1db49d3291
parent
8b43097655cd437c4c2c9a5f4b086e73c3f95725
download
f131d0c3165a39137046d039b0af41ee325407b4.tar.gz

binutils: fix missing stdint in binutils bdf

* Fixes issue compiling PPC binutils
* Upstream commit 3c865fca8 by Alan Modra
* Missing a stdint.h in coff header for intptr_t usage
* PPC fix is upstream via:
  https://sourceware.org/bugzilla/show_bug.cgi?id=16686

Diff

 binutils/bfd/coff-rs6000.c   | 1 +
 binutils/bfd/coff64-rs6000.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/binutils/bfd/coff-rs6000.c b/binutils/bfd/coff-rs6000.c
index 9326b32..4d063a6 100644
--- a/binutils/bfd/coff-rs6000.c
+++ b/binutils/bfd/coff-rs6000.c
@@ -118,6 +118,7 @@
#define bfd_pe_print_pdata	NULL
#endif

#include <stdint.h>
#include "coffcode.h"

/* The main body of code is in coffcode.h.  */
diff --git a/binutils/bfd/coff64-rs6000.c b/binutils/bfd/coff64-rs6000.c
index 0821b6f..510a4d7 100644
--- a/binutils/bfd/coff64-rs6000.c
+++ b/binutils/bfd/coff64-rs6000.c
@@ -279,6 +279,7 @@
#define bfd_pe_print_pdata	NULL
#endif

#include <stdint.h>
#include "coffcode.h"

/* For XCOFF64, the effective width of symndx changes depending on