public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/63223] New: [avr] Make jumptables work with -Wl,--section-start,.text=
@ 2014-09-11  7:56 gjl at gcc dot gnu.org
  2014-09-11  8:09 ` [Bug target/63223] " gjl at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: gjl at gcc dot gnu.org @ 2014-09-11  7:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63223

            Bug ID: 63223
           Summary: [avr] Make jumptables work with
                    -Wl,--section-start,.text=
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gjl at gcc dot gnu.org

avr-gcc assumes that jumptables in section .progmem.gcc_sw_table are located in
the lower 64k of flash and uses LPM to read from these tables.

This does no more hold if the code is shifted to a higher address by, e.g.
-Wl,--section-start,.text=... which is commonly used with bootloadres.

This PR implements ELPM to access jumptables as needed.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-10-22 10:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-11  7:56 [Bug target/63223] New: [avr] Make jumptables work with -Wl,--section-start,.text= 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
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

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).