<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - syntax for coff associative sections is ambiguous"
   href="http://llvm.org/bugs/show_bug.cgi?id=19960">19960</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>syntax for coff associative sections is ambiguous
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>MC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rafael.espindola@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu, rnk@google.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When creating an associative section the syntax looks like


.section        name,flags,associative assoc_name, comdat_sym

the problem is that we can have multiple sections named assoc_name.

A general but fairly disruptive change would be to have something like

%foo = .section ....

where %foo would be token that can be used to refer to the section.

A less general but simpler option would be so do the reference with


.section        name,flags,associative assoc_name, assoc_comdat, comdat_sym

but given that assoc_comdat is in a section, we could also simplify this to

.section        name,flags,associative assoc_comdat, comdat_sym

and in the object writer map the assoc_comdat to the assoc section number.</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>