summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-08-25 16:37:01 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-08-26 16:06:01 +0900
commite9c6e52f5b8aa42cb4a8d67d5a98ee8daf74e997 (patch)
treef7d6bb62faa7bed51b632725d9b6fddef5f55831 /doc
parentd00ae8d1666ae466a24b56ef35f18b4d66e80c62 (diff)
downloadmruby-e9c6e52f5b8aa42cb4a8d67d5a98ee8daf74e997.tar.gz
mruby-e9c6e52f5b8aa42cb4a8d67d5a98ee8daf74e997.zip
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
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/mrbconf.md8
1 files changed, 0 insertions, 8 deletions
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`.