Post Created date
Where has -mshort-calls compiler option gone?
I found the relevant changes - it's in the assembler, not the compiler: https://sourceware.org/ml/binuti...   and in the "compiler driver" to pass -mrelax both to as and ld:...
Tuesday, 16 September 2014 - 13:10
Where has -mshort-calls compiler option gone?
Ah, I see.   I don't doubt what you say, but what is the reason? I mean, in what way are the debug symbols more linker/relax-friendly when using -mrelax, and how can they be...
Tuesday, 16 September 2014 - 07:24
code//////////////////code
The problem is not with the overall width - I can simply reduce the width my browser window (I learned to do this quickly after I was forced to use a "modern" wide-angle monitor...
Friday, 12 September 2014 - 09:52
Where has -mshort-calls compiler option gone?
> This is because it has to be passed to both compiler and linker.   Why would it be needed for the compiler?   JW
Friday, 12 September 2014 - 09:44
code//////////////////code
And this trick appears not working in the new forum.   JW
Friday, 12 September 2014 - 07:20
Where has -mshort-calls compiler option gone?
One more thing - remove all object files before recompiling (make clean, but do it manually to be sure). Any change?   JW
Thursday, 11 September 2014 - 11:10
Where has -mshort-calls compiler option gone?
Also, how did you specify relaxation?   If -mrelax, what if you try -Wl,-relax?   JW
Thursday, 11 September 2014 - 11:08
Where has -mshort-calls compiler option gone?
In the PMd files, I run the makefile (after changing the hardcoded paths - whoever wrote the makefile generator was an idiot), removing -mshort-calls and adding -relax to the...
Thursday, 11 September 2014 - 11:06
Where has -mshort-calls compiler option gone?
> If I build it with gcc 4.6.2 without -mshort-calls it results in 2106 bytes.   Hummm. Relaxation should do the same thing - replace JMP/CALL by RJMP/RCALL wherever...
Thursday, 11 September 2014 - 08:08
Where has -mshort-calls compiler option gone?
Can you please try to compile the code with 4.6.2 but *without* -mshort-calls? Will that produce a different code?   I guess not and the difference is elsewhere.   If...
Thursday, 11 September 2014 - 07:39
Optimization - direct entry to the registry
Use asm, inline or normal. JW
Wednesday, 3 September 2014 - 20:50
AVR GCC Jump Table Bug
AVR-Libc user manual wrote:NOTE: The tablejump instructions use the LPM assembler instruction for access to jump tables. Always use -fno-jump-tables switch, if compiling a...
Tuesday, 26 August 2014 - 18:41

Pages