<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:caij2003@gmail.com" title="Jian Cai <caij2003@gmail.com>"> <span class="fn">Jian Cai</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Illegal fragment fill size when using current address in size computation"
   href="https://bugs.llvm.org/show_bug.cgi?id=46702">bug 46702</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WONTFIX
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Illegal fragment fill size when using current address in size computation"
   href="https://bugs.llvm.org/show_bug.cgi?id=46702#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Illegal fragment fill size when using current address in size computation"
   href="https://bugs.llvm.org/show_bug.cgi?id=46702">bug 46702</a>
              from <span class="vcard"><a class="email" href="mailto:caij2003@gmail.com" title="Jian Cai <caij2003@gmail.com>"> <span class="fn">Jian Cai</span></a>
</span></b>
        <pre>A slightly reduced test case:

$cat foo.s 
1:
   jmp .
2:
.fill 1, (2b - 1b), 0


Double checking again GNU assembler also seemed to fail such code:

$ as --version
GNU assembler (GNU Binutils for Debian) 2.35.2

$ as foo.s -o gas.o
foo.s: Assembler messages:
foo.s:4: Error: bad or irreducible absolute expression
make: *** [makefile:9: gas] Error 1


Closing it as this seems to be consistent across assemblers. Please feel free
to reopen if I misunderstood your problem.</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>