This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Don't include <exception_defines.h>
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Wed, 23 Feb 2011 14:39:47 -0800
- Subject: PATCH: Don't include <exception_defines.h>
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
According to
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47865
<exception_defines.h> is an internal header file. I checked in this
patch to remove it.
H.J.
---
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 3796f17..1de772b 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-elf/new.cc: Don't include <exception_defines.h>.
+
2011-02-10 Alan Modra <amodra@gmail.com>
* ld-scripts/defined.exp: Don't run defined5 for AOUT.
diff --git a/ld/testsuite/ld-elf/new.cc b/ld/testsuite/ld-elf/new.cc
index b4c8882..513cf2f 100644
--- a/ld/testsuite/ld-elf/new.cc
+++ b/ld/testsuite/ld-elf/new.cc
@@ -1,5 +1,4 @@
#include <new>
-#include <exception_defines.h>
using std::bad_alloc;