iteration69
New Member
I've been trying to figure out how to find the __bss_end to be used in my code for quite awhile now. I can't figure it out so i'm asking for some help.
I noticed the linker script references the bss start and end but i can not get it to work in C source code.
I've tried all the names that work in other tools.
BSS_END, __bss_end, bssend, BSSEND, _BSSEND.
All of the above result in the same error
error: '__bss_end' undeclared (first use in this function)
Does anyone know how to reference the end of the .bss ?
I noticed the linker script references the bss start and end but i can not get it to work in C source code.
I've tried all the names that work in other tools.
BSS_END, __bss_end, bssend, BSSEND, _BSSEND.
All of the above result in the same error
error: '__bss_end' undeclared (first use in this function)
Does anyone know how to reference the end of the .bss ?