/DATA Linker Option

Syntax: Default:
/DATA:attributes /DATA:RW

Use /DATA to specify the default attributes for all data sections. Letters can be specified in any order.

Letter Attribute
E or X EXECUTE 1
R READ
S SHARED
W WRITE
A 16:16 ALIAS attribute
C CONFORMING attribute 1
D DISCARDABLE attribute
I I/O PRIVILEGE attribute
G RESIDENT and CONTIGUOUS
H RESIDENT and LONG-LOCKABLE
L RESIDENT

1. This attribute is not recommended for data segments.

The default is /DATA:RW.



Summary of Linker Options