Altera_Forum
Honored Contributor
19 years agoHow to declare linker symbol in C files
Dear all,
As we known, the generated automatically linker script defined many symbols for use. For example: __bss_start. We can use these symbols in source files, for example, in *.S file, we can declare it as follow: .globl __bss_start But I don't know how to declare it in *.c files. I have tried as follow: extern char* __bss_start; But it seems doesn't work... Anybody help... Thanks in advance, David