From bd45c3777ce6dee717b34cdb2cc624f7f3f3e08b Mon Sep 17 00:00:00 2001
From: wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 30 Sep 2005 18:06:26 +0000
Subject: [PATCH] Fix mips-elf gp relocation overflow errors. * mf-heuristics.c
 (_end, ENTRY_POINT): Make them arrays with unknown bounds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104825 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libmudflap/ChangeLog       | 5 +++++
 libmudflap/mf-heuristics.c | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog
index 6c3d219bfcfe..a6d0a1c433ef 100644
--- a/libmudflap/ChangeLog
+++ b/libmudflap/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-30  James E. Wilson  <wilson@specifix.com>
+
+	* mf-heuristics.c (_end, ENTRY_POINT): Make them arrays with unknown
+	bounds.
+
 2005-09-29  James E. Wilson  <wilson@specifix.com>
 
 	* mf-hooks1.c (__mf_0fn_mmap, mmap, __mf_0fn_munmap, munmap): Protect
diff --git a/libmudflap/mf-heuristics.c b/libmudflap/mf-heuristics.c
index 4a1a26cb3988..f5ac6d0a46d9 100644
--- a/libmudflap/mf-heuristics.c
+++ b/libmudflap/mf-heuristics.c
@@ -42,8 +42,8 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
 #endif
 
 
-extern char _end;
-extern char ENTRY_POINT;
+extern char _end[];
+extern char ENTRY_POINT[];
 
 
 /* Run some quick validation of the given region.
-- 
GitLab