# Bsymbolic

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

## Syntax

Linux: | -Bsymbolic

macOS: | None

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.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Linking or Linker Options

## See Also

Bsymbolic-functions compiler option