<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Relocated caches not quite working"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106618#c30">Comment # 30</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Relocated caches not quite working"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106618">bug 106618</a>
              from <span class="vcard"><a class="email" href="mailto:alexl@redhat.com" title="Alexander Larsson <alexl@redhat.com>"> <span class="fn">Alexander Larsson</span></a>
</span></b>
        <pre>For the record, I still think the real fix is to change the cache format to use
dynamic-library style indirection, like the GOT.

I.e. have the FC_FILE not be an byte offset, but an index into a separate table
of byte offsets, and store the default table at the end of the cache file,
properly page aligned. Then you mmap the cache in two chunks, once for the main
part and the second for the offset table + strings. However, when you relocate
the cache the other part is not mmaped, but instead recreated dynamically.

Thats a lot more work though, and this patch fixes things as-is.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>