--- Comment #1 from nm127 at freemail dot hu 2008-09-14 09:18 ---
Created an attachment (id=16317)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16317&action=view)
add a new error message for attribute section parameter type check
This patch separates the type check
Version: 4.4.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nm127 at freemail dot hu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
--- Comment #6 from nm127 at freemail dot hu 2008-09-14 07:14 ---
(In reply to comment #5)
> This is all expected, if you want a string constant to be in a different
> section, you need to put there your self by using a variable.
So the __attribute__ __section__ modifier
--- Comment #4 from nm127 at freemail dot hu 2008-09-14 05:32 ---
(In reply to comment #3)
> char* y __attribute__ ((__section__(".xxx_section"))) = "Hello World!";
>
> That only puts the pointer variable y into that section and not the string.
Exat
--- Comment #2 from nm127 at freemail dot hu 2008-09-13 13:59 ---
This problem maybe related to bug #192.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37506
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nm127 at freemail dot hu
GCC build triplet: 4.3.1
GCC target triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37506