From e9c6e52f5b8aa42cb4a8d67d5a98ee8daf74e997 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 25 Aug 2021 16:37:01 +0900 Subject: value.h: reconstruct `mrb_ro_data_p()`. * use predefined `mrb_ro_data_p()` for user-mode Linux and macOS * define `MRB_LINK_TIME_RO_DATA_P` if predefined one is used * configure macro `MRB_USE_LINK_TIME_RO_DATA_P` is no longer used * contributions for new platforms are welcome --- doc/guides/mrbconf.md | 8 -------- 1 file changed, 8 deletions(-) (limited to 'doc/guides/mrbconf.md') diff --git a/doc/guides/mrbconf.md b/doc/guides/mrbconf.md index b5bc8c85c..c24213743 100644 --- a/doc/guides/mrbconf.md +++ b/doc/guides/mrbconf.md @@ -151,14 +151,6 @@ largest value of required alignment. ## Reduce heap memory configuration -`MRB_USE_LINK_TIME_RO_DATA_P` - -* Only available on ELF platforms. -* If you specify the address of a read-only section when creating a symbol or string, that string will be used as it is. -* Heap memory can be saved. -* Uses `__ehdr_start` and `__init_array_start`. -* It must be `__ehdr_start < data_addr < __init_array_start`. - `MRB_USE_CUSTOM_RO_DATA_P` * Takes precedence over `MRB_USE_LINK_TIME_RO_DATA_P`. -- cgit v1.2.3