Skip to content

use .lcomm to declare vars in .bss section#1

Open
axlan wants to merge 1 commit intomatlo607:masterfrom
axlan:master
Open

use .lcomm to declare vars in .bss section#1
axlan wants to merge 1 commit intomatlo607:masterfrom
axlan:master

Conversation

@axlan
Copy link

@axlan axlan commented Jan 19, 2020

I got the error: bootstrap.S:11: Error: attempt to store non-zero value in section '.bss'

When trying to build on i386-elf-gcc (GCC) 9.2.0

This change fixed the error since it declare the variables in BSS without assigning a value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant