Possible bug; code-block vanishes when adding one assembler-instruction.

Jens Bauer jens-lists@gpio.dk
Thu May 9 21:08:00 GMT 2013


Hi Andreas and Richard.

On Thu, 09 May 2013 22:37:14 +0200, Andreas Schwab wrote:
> Jens Bauer <jens-lists@gpio.dk> writes:
> 
>> Hmm.. I get an error, when I try to build the code with...
>> 	.section .fastcode, "ax", @progbits
>> ...It doesn't like the extra parameters:
> 
> arm uses @ as the comment character, replace it by %.

Thank you very much, Andreas, this has been very valuable for me in narrowing down the problem.
I just tried using...
	.section	.fastcode,"ax",%progbits
...And I got it to build, plus the entire code-block including LDR and STR is now placed correctly in SRAM.

Richard, I think you now have a much better idea of what is going on, am I right ?


Love
Jens



More information about the Binutils mailing list