AnsweredAssumed Answered

section() keyword vs #pragma section()

Question asked by Yaniv.Sapir on Jul 13, 2011
Latest reply on Jul 14, 2011 by ColinJ

In a C source, what is the difference between:

 

section("section_name")

 

and:

 

#pragma section("section_name")

 

?

 

From the doc it seems like the keyword is restricted in that the section name cannot get a qualifier. In that case, why use the keyword at all?

Outcomes