------- Additional Comments From hjl at lucon dot org 2005-02-06 16:23 ------- I don't think emitting R_X86_64_PC32 is a bug since -fvisibility=hidden -fvisibility-inlines-hidden is used and the undefined function can be defined in another .o file. The real bug is gcc doesn't emit
.hidden foo when foo is marked hidden and undefined. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664