From 06fb0460dfcb7dc9877ca1bbfbf720ce5ce2be7c Mon Sep 17 00:00:00 2001 From: James E Wilson Date: Fri, 30 Sep 2005 11:06:26 -0700 Subject: [PATCH] Fix mips-elf gp relocation overflow errors. * mf-heuristics.c (_end, ENTRY_POINT): Make them arrays with unknown bounds. From-SVN: r104825 --- libmudflap/ChangeLog | 5 +++++ libmudflap/mf-heuristics.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog index 6c3d219bfcf..a6d0a1c433e 100644 --- a/libmudflap/ChangeLog +++ b/libmudflap/ChangeLog @@ -1,3 +1,8 @@ +2005-09-30 James E. Wilson + + * mf-heuristics.c (_end, ENTRY_POINT): Make them arrays with unknown + bounds. + 2005-09-29 James E. Wilson * 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 4a1a26cb398..f5ac6d0a46d 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. -- 2.11.4.GIT