diff options
author | James E Wilson <wilson@specifixinc.com> | 2005-09-30 11:06:26 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2005-09-30 11:06:26 -0700 |
commit | 06fb0460dfcb7dc9877ca1bbfbf720ce5ce2be7c (patch) | |
tree | b94faf8ae81b88f35924548dd1cf319539f34a9f | |
parent | dd7dc250237e0383a394545bcc87c647aeed9f26 (diff) | |
download | gcc-06fb0460dfcb7dc9877ca1bbfbf720ce5ce2be7c.tar.gz |
Fix mips-elf gp relocation overflow errors.
* mf-heuristics.c (_end, ENTRY_POINT): Make them arrays with unknown
bounds.
From-SVN: r104825
-rw-r--r-- | libmudflap/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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 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. |