This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/45263] registers used in __do_global_ctors can get clobbered
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 May 2012 17:23:14 +0000
- Subject: [Bug target/45263] registers used in __do_global_ctors can get clobbered
- Auto-submitted: auto-generated
- References: <bug-45263-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45263
--- Comment #16 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-05-02 17:23:14 UTC ---
Author: gjl
Date: Wed May 2 17:23:06 2012
New Revision: 187058
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187058
Log:
Backport from 2011-05-30 4.6-branch r174427.
PR target/45263
* config/avr/libgcc.S (__do_global_ctors, __do_global_dtors):
Don't use r20 around calls of __tablejump_elpm__
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/avr/libgcc.S