Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

Bsymbolic

Binds references to all global symbols in a program to the definitions within a user's shared library.

Syntax

Linux:

-Bsymbolic

Windows:

None

Arguments

None

Default

OFF

When a program is linked to a shared library, it can override the definition within the shared library.

Description

This option binds references to all global symbols in a program to the definitions within a user's shared library.

This option is only meaningful on Executable Linkage Format (ELF) platforms that support shared libraries.

CAUTION:

This option can have unintended side-effects of disabling symbol preemption in the shared library.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE Equivalent

None

Alternate Options

None

See Also