Bug 30641 - a function to detect if the binary being run will need libgcc_s

Summary: a function to detect if the binary being run will need libgcc_s