avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Using .data & bss


From: Klaus Rudolph
Subject: [avr-gcc-list] Using .data & bss
Date: Tue, 20 Nov 2001 19:16:11 +0100

Hi all,

if i want to use the .data section i can write in assembler:

.data
label1: .byte 10,20,30
label2: .byte 1,2,3
label3: .skip 10
...

but that give me the bytes in the text section again, normaly the
startup code is
copys the text to the data section so that i have initialisized ram,
fine.
But i want not initialisized ram and no allocation of additional space
in the
text section.

.bss
label1: .skip 3
label2: .skip 3
label3: .skip 10

But there is no .bss in avr-gcc. What is the solution. 

bye
Klaus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]