1. 22 Sep, 2019 2 commits
    • KOBAYASHI Shuji's avatar
      Implement all type predicate macros for `MRB_WORD_BOXING` · 5dda4f5d
      KOBAYASHI Shuji authored
      The default implementations of type predicate macros use `mrb_type`.
      But `mrb_type` with `MRB_WORD_BOXING` isn't very efficient, so the new
      implementations avoid `mrb_type`.
      5dda4f5d
    • Fangrui Song's avatar
      Rename MRB_USE_ETEXT_EDATA to MRB_USE_LINK_TIME_RO_DATA_P and support lld linked programs · 7f044341
      Fangrui Song authored
      In lld linked programs, .rodata comes before .text, thus mrb_ro_data_p
      will return false for strings in .rodata. Change the lower bound from
      _etext to __ehdr_start to catch these cases. This works for ld.bfd, gold
      and lld, and it does not have false positives even if .init_array does
      not exist.
      
      Remove the branch that uses _edata: strings in .data can be modified so
      this is semantically incorrect. Delete the __APPLE__ branch (its
      manpages say get_etext() and get_edata() are strongly discouraged).
      .init_array has been adopted by most ELF platforms to supersede .ctors.
      
      Neither _etext nor _edata is used, so rename MRB_USE_ETEXT_EDATA to
      MRB_USE_EHDR_START.
      7f044341
  2. 21 Sep, 2019 2 commits
  3. 20 Sep, 2019 4 commits
  4. 19 Sep, 2019 2 commits
  5. 18 Sep, 2019 5 commits
  6. 17 Sep, 2019 2 commits
  7. 16 Sep, 2019 18 commits
  8. 15 Sep, 2019 5 commits