[Bug ada/18680] pragma Linker_Section problems
--- 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
[Bug ada/18680] pragma Linker_Section problems
--- 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
[Bug ada/18680] pragma Linker_Section problems
-- 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
[Bug ada/18680] pragma Linker_Section problems
--- 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 TypeAddr OffSize ES Flg Lk Inf Al [...] [ 4] .eeprom PROGBITS 38 21 00 A 0 0 1 [ 5] .rodata PROGBITS 59 11 00 A 0 0 1 [...] Symbol table '.symtab' contains 13 entries: Num:Value Size TypeBind Vis Ndx Name [...] 10: 17 OBJECT GLOBAL DEFAULT4 test__eeprom 11: 17 OBJECT GLOBAL DEFAULT5 test__data_1 12: 001116 OBJECT GLOBAL DEFAULT4 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|-00-00 00:00:00 |2008-04-12 12:16:40 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18680
[Bug ada/18680] pragma Linker_Section problems
--- 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
[Bug ada/18680] pragma Linker_Section problems
--- 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