<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="FR" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I implement support of AIX archive (big archive / XCOFF) on LLVM.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have done a prototype available here : <a href="https://github.com/EGuesnet/llvm-project/commit/1db5ddbdfea5614d0b91a8a6a1920ac630163ec0">
https://github.com/EGuesnet/llvm-project/commit/1db5ddbdfea5614d0b91a8a6a1920ac630163ec0</a> .<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">This prototype replaces support of GNU/BSD/... archive by big archive, but you can switch changing the include. I have implemented only read operation (t, x, p).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I want advices, especially to merge correctly support of Big archive and other archive. Main troubles to merge is big archive has a different header than other archive.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Moreover, big archives have a fix length header, and one header for each object; fix and object headers are different (they are the same structure for non-big archive). Big archives have member table and symbol table
 at the end of the archive, so you must stop to read it before the end; the location of these table are given with absolute offset, hard to take into account in current code.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Big archive documentation is here : https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/filesreference/ar_big.html .<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thanks.<o:p></o:p></span></p>
</div>
</body>
</html>