------- Comment #15 from ghazi at gcc dot gnu dot org 2008-01-27 18:39 ------- > All in all I'm now thinking that > it's good to have such tests, we should only conditionalize the result of the > tests on -fpic/PIC, I suppose we do have a macro for that?!?
How about binding locally when pic? E.g.: #ifdef __PIC__ static #endif function_foo() -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26099