In my program I neither include math.h nor do I link -lm against it: g++ -std=c++11 -g -O0..
Still ldd shows this
ldd ./bin/apps/dummy
linux-vdso.so.1 => (0x00007fff9e5fe000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1fb38cf000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1fb36b8000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1fb32f1000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1fb2feb000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1fb3c10000)
Does gcc automatically call math functions? If yes how can I find out which those functions are and wherefrom they are called?