------- Comment #3 from pinskia at gcc dot gnu dot org 2008-09-14 04:45 ------- char* y __attribute__ ((__section__(".xxx_section"))) = "Hello World!";
That only puts the pointer variable y into that section and not the string. The correct way is do like what you do for x. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37506