http://sourceware.org/bugzilla/show_bug.cgi?id=12132
Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |gjl at gcc dot gnu.org Resolution| |INVALID --- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-01-29 18:29:31 UTC --- (In reply to comment #0) > The following code compiled with avr-gcc 4.5 results in an assembler file that > gas is not able translate correctly. > > void function() {} > > int main(void) { > asm volatile ( > "rjmp %[Function]\n" > : > : [Function] "i" (function) > ); > } > > The rjmp could be also a jmp, call or something similar. The compiler > translates this to > > rjmp gs(_Z8functionv) A gs() makes no sense here. Write "rjmp %x[Function]" -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils