Using Linker Script Values: Difference between revisions

no edit summary
[unchecked revision][unchecked revision]
(First draft)
 
No edit summary
 
Line 9:
The solution to this is to take the address of <tt>_ebss</tt> either by using it as <tt>&amp;_ebss</tt> or by defining it as an unsized array (<tt>extern char _ebss[];</tt>) and casting to an integer. (The array notation prevents accidental reads from <tt>_ebss</tt> as arrays must be explicitly dereferenced)
 
[[Category:Linkers]]
[[Category:FAQ]]
Anonymous user