The
STRIPSEC option allows you to remove unneeded
sections from a program object or load module.
- STRIPSEC=PRIV
- Specifies that unreferenced unnamed sections are to be removed.
Sections removed by STRIPSEC=YES are always a superset of STRIPSEC=PRIV.
See the note below for more information concerning unreferenced sections.
- STRIPSEC=YES
- Specifies that unreferenced and unreferenced unnamed sections
are to be removed. Sections removed by STRIPSEC=PRIV are always a
subset of STRIPSEC=YES. See the note below for more information concerning
unreferenced sections.
If STRIPSEC is specified
without a value, it is treated as STRIPSEC=YES.
- STRIPSEC=NO
- Is the default value and specifies that unreferenced sections
are not to be removed.
Note: For a section to be considered unreferenced, it must:
- Contain no symbols that are referenced by an ESD
- Contain neither an entry point nor an alias
- Contain no exported symbols
- Not be the target of a control statement