diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-04 11:15:37 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-01-05 07:05:52 +0100 |
commit | f027f37661fc8c12ab07f92982f0c86e4e0717de (patch) | |
tree | fee5caaa9d54e875e0c8ccc10ea3e021b27bf05e /README | |
parent | linkers: Avoid cast (diff) | |
download | rtems-tools-f027f37661fc8c12ab07f92982f0c86e4e0717de.tar.bz2 |
linkers: Fix for targets with a small-data area
On certain targets (e.g. PowerPC) global data below a certain threshold
(e.g. 8 bytes) may resided in a special memory area, the small-data
area. This allows more efficient load/store operations. Placing such
data into the wrong section (e.g. .rodata) leads to relocation errors
during link-time. See test program libtests/dl02 in the RTEMS
testsuite. Using an array of unspecified size prevents that the
compiler assumes that a certain variable is in the small-data area.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions