search for: myrodata

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

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=".myrodata", data=".mydata", text=".mytext&quot...
2017 Mar 10
3
[cfe-dev] proposal - pragma section directive in clang
...985290.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 outside the scope of this RFC....
2017 Mar 14
2
[cfe-dev] proposal - pragma section directive in clang
...) 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=".myda...