public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/18680] pragma Linker_Section problems
[not found] <bug-18680-283@http.gcc.gnu.org/bugzilla/>
@ 2008-04-12 12:17 ` sam at gcc dot gnu dot org
2008-04-12 12:36 ` sam at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-12 12:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from sam at gcc dot gnu dot org 2008-04-12 12:16 -------
With current GCC 4.4.0 (20080411), Data_2 is correctly placed into .eeprom:
% readelf test.o
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf
Al
[...]
[ 4] .eeprom PROGBITS 00000000 000038 000021 00 A 0 0
1
[ 5] .rodata PROGBITS 00000000 000059 000011 00 A 0 0
1
[...]
Symbol table '.symtab' contains 13 entries:
Num: Value Size Type Bind Vis Ndx Name
[...]
10: 00000000 17 OBJECT GLOBAL DEFAULT 4 test__eeprom
11: 00000000 17 OBJECT GLOBAL DEFAULT 5 test__data_1
12: 00000011 16 OBJECT GLOBAL DEFAULT 4 test__data_2
However, the problem with pragma linker_section not applying on types (while
not failing at compile time) remains.
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-04-12 12:16:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18680
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/18680] pragma Linker_Section problems
[not found] <bug-18680-283@http.gcc.gnu.org/bugzilla/>
2008-04-12 12:17 ` [Bug ada/18680] pragma Linker_Section problems sam at gcc dot gnu dot org
@ 2008-04-12 12:36 ` sam at gcc dot gnu dot org
2008-04-14 13:43 ` sam at gcc dot gnu dot org
2008-04-14 16:47 ` sam at gcc dot gnu dot org
3 siblings, 0 replies; 6+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-12 12:36 UTC (permalink / raw)
To: gcc-bugs
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |sam at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2008-04-12 12:16:40 |2008-04-12 12:35:59
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18680
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/18680] pragma Linker_Section problems
[not found] <bug-18680-283@http.gcc.gnu.org/bugzilla/>
2008-04-12 12:17 ` [Bug ada/18680] pragma Linker_Section problems sam at gcc dot gnu dot org
2008-04-12 12:36 ` sam at gcc dot gnu dot org
@ 2008-04-14 13:43 ` sam at gcc dot gnu dot org
2008-04-14 16:47 ` sam at gcc dot gnu dot org
3 siblings, 0 replies; 6+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-14 13:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from sam at gcc dot gnu dot org 2008-04-14 13:42 -------
Subject: Bug 18680
Author: sam
Date: Mon Apr 14 13:41:25 2008
New Revision: 134266
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134266
Log:
gcc/ada/
PR ada/18680
* sem_prag.adb (Analyze_Pragma, Linker_Section case): Refuse to
apply pragma Linker_Section on type.
gcc/testsuite/
PR ada/18680
* gnat.dg/specs/linker_section.ads: New.
Added:
trunk/gcc/testsuite/gnat.dg/specs/linker_section.ads
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sem_prag.adb
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18680
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/18680] pragma Linker_Section problems
[not found] <bug-18680-283@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2008-04-14 13:43 ` sam at gcc dot gnu dot org
@ 2008-04-14 16:47 ` sam at gcc dot gnu dot org
3 siblings, 0 replies; 6+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-04-14 16:47 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from sam at gcc dot gnu dot org 2008-04-14 16:46 -------
This is fixed in the current SVN tree.
--
sam at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18680
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/18680] pragma Linker_Section problems
2004-11-26 13:29 [Bug ada/18680] New: " berndtrog at yahoo dot com
2004-11-26 15:23 ` [Bug ada/18680] " pinskia at gcc dot gnu dot org
@ 2004-11-26 15:45 ` berndtrog at yahoo dot com
1 sibling, 0 replies; 6+ messages in thread
From: berndtrog at yahoo dot com @ 2004-11-26 15:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From berndtrog at yahoo dot com 2004-11-26 15:45 -------
>This is also a dup of bug 10670.
Please note that PR10670 is about a broken 'pragma Machine_Attribute',
not about 'pragma Linker_Section'.
(It *may* be related to PR14115)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18680
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug ada/18680] pragma Linker_Section problems
2004-11-26 13:29 [Bug ada/18680] New: " berndtrog at yahoo dot com
@ 2004-11-26 15:23 ` pinskia at gcc dot gnu dot org
2004-11-26 15:45 ` berndtrog at yahoo dot com
1 sibling, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-26 15:23 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-26 15:23 -------
*** This bug has been marked as a duplicate of 10670 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18680
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-04-14 16:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-18680-283@http.gcc.gnu.org/bugzilla/>
2008-04-12 12:17 ` [Bug ada/18680] pragma Linker_Section problems sam at gcc dot gnu dot org
2008-04-12 12:36 ` sam at gcc dot gnu dot org
2008-04-14 13:43 ` sam at gcc dot gnu dot org
2008-04-14 16:47 ` sam at gcc dot gnu dot org
2004-11-26 13:29 [Bug ada/18680] New: " berndtrog at yahoo dot com
2004-11-26 15:23 ` [Bug ada/18680] " pinskia at gcc dot gnu dot org
2004-11-26 15:45 ` berndtrog at yahoo dot com
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).