This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]