EDITBIN Option /SECTION

This option changes the properties of a section, overriding the properties that were set when the object file for the section was compiled or linked. It has the following form:

/SECTION:name[=newname][,properties][,alignment]

After the colon ( : ), specify the name of the section. To change the section name, follow name with an equal sign (=) and a newname for the section.

To set or change the section's properties, specify a comma (,) followed by one or more property characters. To negate a property, precede its character with an exclamation point (!). The following characters specify memory properties:

Property Setting
c code
d discardable
e executable
i initialized data
k cached virtual memory
m link remove
o link info
p paged virtual memory
r read
s shared
u uninitialized data
w write

To control alignment, specify the character "a" followed by a character to set the size of alignment in bytes, as follows:

Character Alignment Size in Bytes
1 1
2 2
4 4
8 8
p 16
t 32
s 64
x no alignment

Specify the properties and alignment characters as a string with no white space. The characters are not case sensitive.