Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried running objdump on the lib to figure it out without success. Is there a way to find out what a library does?

share|improve this question
objdump -T libgcc_s.so gives you the shared object linker points. Presuming you know what __gttf2 and the like mean, you should have no problem. (I expect that libgcc_s.so is atypically cryptic for an in this regard) – msw Sep 9 '10 at 12:18
up vote 15 down vote accepted

It's GCC's runtime library, which contains some low-level functions that GCC emits calls to (like long long division on 32-bit CPUs).

Part of this library is required by the LSB.

share|improve this answer
+1 dumb old me, sometimes one just doesn't look in the obvious place – celavek Sep 9 '10 at 14:32
do you happen to know if a specific processor's EABI(e.g. ARM EABI) is implemented in that lib? – celavek Sep 9 '10 at 14:33
@celavek I'm not sure what you mean. AFAIK, current platform's ABI would be implemented, same as in other GCC runtime libs: gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html – Alex B Sep 10 '10 at 0:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.