-nostuff


< Compile Options / Object Options >

[Format]

-nostuff [= <section type>[,...]]
            <section type>: { B | D | C | W }

[Description]

-

When the nostuff option is specified, the compiler allocates the variables belonging to the specified <section type> to 4-byte boundary alignment sections. When <section type> is omitted, variables of all section types are applicable.

-

C, D, and B are the section names specified by the section option or #pragma section. W is the section name specified by the section option. The data contents allocated to each section are output in the order they were defined.

[Example]

int a;
char b=0;
const short c=0;
struct {
        char x;
        char y;
} ST;
        .SECTION                C,ROMDATA,ALIGN=4
        .glb        _c
_c:
        .word                   0000H
        .SECTION                D,ROMDATA,ALIGN=4
        .glb        _b
_b:
        .byte                   00H
        .SECTION                B,DATA,ALIGN=4
        .glb        _a
_a:
        .blkl        1
 
        .glb        _ST
_ST
        .blkb        2

[Remarks]

-

The nostuff option cannot be specified for sections other than B, D, C, and W.