summaryrefslogtreecommitdiffhomepage
path: root/src/numeric.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-10-02 09:27:39 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-10-02 09:27:39 +0900
commit6b956f1c1b18e69529ba4daef886ff7c11621656 (patch)
treee62b87a2d816999d160547ac98458210aa3f8fbd /src/numeric.c
parentae1403004b4c9de25e2abfbcd2e838dc737a23d5 (diff)
downloadmruby-6b956f1c1b18e69529ba4daef886ff7c11621656.tar.gz
mruby-6b956f1c1b18e69529ba4daef886ff7c11621656.zip
use __init_array_start to determine readonly data section;
b72e94f used _etext and _edata to distinguish C string literals from heap allocated strings, but using _edata, global char arrays may be considered as string literals. to avoid the issue, we have to use __init_array_start, which might be less portable. you can still use _edata, by using MRB_NO_INIT_ARRAY_START.
Diffstat (limited to 'src/numeric.c')
0 files changed, 0 insertions, 0 deletions