blob: f27f8b402b51e2179da4e1d28a56a003a23de52b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Pitfalls
========
FORCE_COMMON_ALLOCATION
We need to instruct the linker to allocate space in a section for the common
symbols. That is, symbols either having STT_COMMON as type or SHN_COMMON as
section header index, or both. This are usually C external variables. To do
this, use the GNU ld option "-d" or - when using a linker script - the option
command "FORCE_COMMON_ALLOCATION". See the examples/ directory.
|