From: James E Wilson Date: Fri, 30 Sep 2005 18:06:26 +0000 (-0700) Subject: Fix mips-elf gp relocation overflow errors. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06fb0460dfcb7dc9877ca1bbfbf720ce5ce2be7c;p=gcc.git Fix mips-elf gp relocation overflow errors. * mf-heuristics.c (_end, ENTRY_POINT): Make them arrays with unknown bounds. From-SVN: r104825 --- 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.