public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63223] [avr] Make jumptables work with -Wl,--section-start,.text= Date: Thu, 11 Sep 2014 08:20:00 -0000 [thread overview] Message-ID: <bug-63223-4-fTEWjqb3YJ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-63223-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63223 --- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Author: gjl Date: Thu Sep 11 08:19:45 2014 New Revision: 215153 URL: https://gcc.gnu.org/viewcvs?rev=215153&root=gcc&view=rev Log: gcc/ Backport from 2014-09-11 trunk r215152. PR target/63223 * config/avr/avr.md (*tablejump.3byte-pc): New insn. (*tablejump): Restrict to !AVR_HAVE_EIJMP_EICALL. Add void clobber. (casesi): Expand to *tablejump.3byte-pc if AVR_HAVE_EIJMP_EICALL. libgcc/ Backport from 2014-09-11 trunk r215152. PR target/63223 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM and R24 as needed. Make work for all devices and .text locations. (__do_global_ctors, __do_global_dtors): Use word addresses. (__tablejump__, __tablejump_elpm__): Remove functions. * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm. Add _tablejump2. (XICALL, XIJMP): New macros. Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/config/avr/avr.md branches/gcc-4_9-branch/libgcc/ChangeLog branches/gcc-4_9-branch/libgcc/config/avr/lib1funcs.S branches/gcc-4_9-branch/libgcc/config/avr/t-avr
next prev parent reply other threads:[~2014-09-11 8:20 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-09-11 7:56 [Bug target/63223] New: " gjl at gcc dot gnu.org 2014-09-11 8:09 ` [Bug target/63223] " gjl at gcc dot gnu.org 2014-09-11 8:20 ` gjl at gcc dot gnu.org [this message] 2014-09-11 8:22 ` gjl at gcc dot gnu.org 2014-10-17 14:40 ` amylaar at gcc dot gnu.org 2014-10-17 14:56 ` amylaar at gcc dot gnu.org 2014-10-17 15:11 ` amylaar at gcc dot gnu.org 2014-10-17 15:47 ` amylaar at gcc dot gnu.org 2014-10-21 9:38 ` gjl at gcc dot gnu.org 2014-10-21 14:13 ` amylaar at gcc dot gnu.org 2014-10-21 16:12 ` amylaar at gcc dot gnu.org 2014-10-22 8:51 ` gjl at gcc dot gnu.org 2014-10-22 12:02 ` gjl at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-63223-4-fTEWjqb3YJ@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).