search for: mybss

Displaying 3 results from an estimated 3 matches for "mybss".

2017 Mar 14
2
[cfe-dev] proposal - pragma section directive in clang
...24985290.html > > ** Proposed syntax and (vague) semantics ** > > As this is a new pragma for Clang and isn't ARM-specific, we've > invented a less ARM-specific syntax. Bikeshedding is expected and > welcome. > > #pragma clang section bss(".mybss") rodata(".myrodata") > data(".mydata") text(".mytext") There's some prior art in the GreenHills compiler too, where the example above would be spelled: #pragma ghs section bss=".mybss", rodata=".myrodata", data=".mydata&...
2017 Mar 10
3
[cfe-dev] proposal - pragma section directive in clang
...arm.doc.dui0472m/chr1359124985290.html > > ** Proposed syntax and (vague) semantics ** > > As this is a new pragma for Clang and isn't ARM-specific, we've invented a > less ARM-specific syntax. Bikeshedding is expected and welcome. > > #pragma clang section bss(".mybss") rodata(".myrodata") data(".mydata") > text(".mytext") > > The pragma applies to all global variable and function declarations from > the pragma to the end of the translation unit. The pragma should ideally be > pushable and poppable, but that is o...
2017 Mar 14
2
[cfe-dev] proposal - pragma section directive in clang
...Proposed syntax and (vague) semantics ** > > > > As this is a new pragma for Clang and isn't ARM-specific, we've > > invented a less ARM-specific syntax. Bikeshedding is expected and > > welcome. > > > > #pragma clang section bss(".mybss") rodata(".myrodata") > > data(".mydata") text(".mytext") > > There's some prior art in the GreenHills compiler too, where the example > above would be spelled: > > #pragma ghs section bss=".mybss", rodata=".myrodat...