<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 28.10.2015 21:52, Rui Ueyama wrote:<br>
    </div>
    <blockquote
cite="mid:CAJENXgutnv+eQmreLwum0dK1iYhW5Xw02dQKPKnHY2H1oJwDhQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Tue, Oct 27, 2015 at 11:20 PM,
            Igor Kudrin <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:ikudrin.dev@gmail.com" target="_blank">ikudrin.dev@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">ikudrin
              added a subscriber: ikudrin.<br>
              ikudrin added a comment.<br>
              <br>
              The default settings for hash section should be
              target-specific. At least MIPS targets don't support
              GNU-style hash sections at all.<br>
            </blockquote>
            <div><br>
            </div>
            <div>That's why I didn't submit this patch right away. Do
              MIPS compilers pass --hash-style=sysv to the linker? Also,
              why don't they support the GNU-style hash table?</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I'm afraid I don't have enough experience on that topic. At least my
    cross-platform compiler doesn't seem to do that.<br>
    <br>
    They can't support the .gnu.hash section because MIPS ABI specifies
    that symbols in the dynamic symbol table should be sorted in the
    same order as entries of GOT. There were some experimental patches
    to sort GOT entries accordingly, but they didn't look to be accepted
    (<a class="moz-txt-link-freetext" href="https://sourceware.org/ml/binutils/2007-08/msg00387.html">https://sourceware.org/ml/binutils/2007-08/msg00387.html</a>).<br>
    <blockquote
cite="mid:CAJENXgutnv+eQmreLwum0dK1iYhW5Xw02dQKPKnHY2H1oJwDhQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <a moz-do-not-send="true"
                href="http://reviews.llvm.org/D14129" rel="noreferrer"
                target="_blank">http://reviews.llvm.org/D14129</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>