Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1019 Bytes

libgcc.md

File metadata and controls

22 lines (13 loc) · 1019 Bytes

libgcc

libgcc_s.so

libgcc.a

The GCC compiler may generate functions which are present on libgcc if the platform does not have a hardware implementation.

Like any other built-ins, the function call may be chosen instead of the inlining to make the output shorter.

The most common cause of generating symbols in libgcc are arithmetic operations which the hardware does not support natively, e.g. long long operations in a 32-bit machine.

libgcc_eh.a

Contains __gcc_personality_v0 and _Unwind_Resume, which are contained in libgcc_s.so but not libgcc.a.

Used only when compiling with -static in GCC 4.8: it seems therefore to replace libgcc_s.so in the static case.