This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29141] static constructors beyond 64k fail
- From: "pete at vavaroutsos dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2007 22:19:42 -0000
- Subject: [Bug target/29141] static constructors beyond 64k fail
- References: <bug-29141-13275@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pete at vavaroutsos dot com 2007-02-02 22:19 -------
I too have ran into this problem. The code in __tablejump__ that calls the
constructors is using LPM instructions instead of ELPM, so the value in the
RAMPZ register is being ignored. Thus a bad pointer to the constructor is
fetched.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29141