Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
3  
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

1 Answer 1

up vote 12 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).

share|improve this answer
1  
+1 dumb old me, sometimes one just doesn't look in the obvious place –  celavek Sep 9 '10 at 14:32
1  
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

 
discard

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.