http://gcc.gnu.org/ml/gcc-patches/2011-08/msg00140.html
Weddington, Eric wrote: >> >> This patch fixes RCALL/RJMP instructions to other modules by replacing >> them >> with XCALL resp. XJMP. >> > > Hi Johann, > > Do we want to add a binutils bug report for the FIXME that you just added in > this patch? Yes I think so. libgcc.S would be more efficient and easier to read because it needed no special treatment of skip bug. I think avr-libc could take advantage of that feature, too, e.g. getting rid of relocation truncation issues like #33698. For avr-libc it's a bit harder, of course, because many modules need __addsf3 et al. But large routines like printf stuff could be factored out. > It should be fairly easy to add SORT to the default linker scripts. > > Eric Weddington What version? Is already possible for 2.21? Johann