GNU Development Chain for 68HC11/68HC12 - Bugs: bug #14131, switch statement tables put in...
You are not allowed to post comments on this tracker with your current authentication level.
bug #14131: switch statement tables put in .rodata instead of .text
Submitter: | None | ||
Submitted: | Mon 15 Aug 2005 03:34:04 PM UTC | ||
Category: | gcc | Severity: | 3 - Normal |
Item Group: | sw-bug | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
Wed 11 Feb 2009 08:59:08 PM UTC, comment #3: |
Anonymous |
Fri 14 Mar 2008 08:02:22 AM UTC, comment #2: Thanks.
|
Anonymous |
Mon 15 Aug 2005 03:45:36 PM UTC, comment #1: oh, I forgot to include gcc version information:
|
Anonymous |
Mon 15 Aug 2005 03:34:04 PM UTC, original submission:
If you generate a large enough switch statement, the table that is used is stuck in the public .rodata section. The .rodata section is global, why put function local data in a global area. This will cause many linker errors, because the PPAGE data will be dropped from the table (as demonstrated below).
|
Anonymous |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2005-08-15 | None | Attached File | - | Added example.tar.gz, #2824 |
Powered by Savane 3.13-f8d8.
Corresponding source code
That Linker script has some interesting stuff I can't even get paged memory to work yet.