Seems to be the same issue as
https://sourceware.org/bugzilla/show_bug.cgi?id=13402.
On Wed, Oct 27, 2021 at 1:25 AM Karakó Tibor
wrote:
> Hi,
>
> I ran into a weird situation regarding whether I compile and link the
> code in one go or in two phases.
>
> main.c:
>
> int main() {
> asm("out
Hi,
I ran into a weird situation regarding whether I compile and link the
code in one go or in two phases.
main.c:
int main() {
asm("out 0x14, r24");
while (1) {
asm("out 0x16, r24");
}
}
When I run:
avr-gcc -O main.c -o main_one.hex -mmcu=attiny2313 -Wl,--oformat,ih