Georg-Johann Lay <a...@gjlay.de> wrote: > The question "Is using linker stubs supported without --relax at > all?" came up recently, namely in
> http://sourceware.org/PR14058#c4 > AFAIR correct handling/generation of stubs needs --relax, but I > cannot find it documented in binutils nor together with -mrelax > documentation in avr-gcc. This is how I understood Björn Haase when he implemented all this many years ago (and thus brought us an AVR GNU toolchain usable for devices with more than 128 KiB of flash). I don't know enough of the linker stub internals to judge whether his implementation is buggy or not. If Jan's assertion (that they are buggy because of this requirement) are correct, this would imply there were a way to resolve the bug without requiring linker relaxations. It's my understanding that architectures using linker stubs aren't that common in GNU binutils (IIRC Björn referred to some Hitachi implementation as an example that already existed before), so it would not be surprising to see that there is missing documentation about certain things around it. I'm trying to Cc Björn, in case he might want to state a more founded opinion on this than mine is. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list