/CODE Linker Option

Syntax: Default:
/CODE:attributes /CODE:RX

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

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

1. This attribute is not recommended for code segments.

The default is /CODE:RX.



Summary of Linker Options