------- Comment #3 from jakub at gcc dot gnu dot org 2009-09-21 06:58 ------- I think it is an assembler bug, unless GOTPCREL is only allowed for non-local symbols (then it would be testcase author's fault). GOTPCREL which is address of a pointer to the symbol should never be resolved to the actual address of the symbol. You can always add .global my_asm_func to the asm, or that plus .hidden my_asm_func to avoid exporting it from the current file.
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41422