<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Add column headers for relocation printing"
   href="https://bugs.llvm.org/show_bug.cgi?id=43941">43941</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Add column headers for relocation printing
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>llvm-objdump
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>jh7370.2008@my.bristol.ac.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>GNU objdump prints column headers for relocation printing, but llvm-objdump
does not. We should add them for compatibility, and also readability:

C:\Work\TempWork> objdump -r bar.o

bar.o:     file format elf64-x86-64

RELOCATION RECORDS FOR [.text.main]:
OFFSET           TYPE              VALUE
000000000000000b R_X86_64_PC32     .L.str-0x0000000000000004
0000000000000012 R_X86_64_PLT32    printf-0x0000000000000004

C:\Work\TempWork> C:\llvm\build\Debug\bin\llvm-objdump -r bar.o

bar.o:  file format ELF64-x86-64

RELOCATION RECORDS FOR [.text.main]:
000000000000000b R_X86_64_PC32 .L.str-4
0000000000000012 R_X86_64_PLT32 printf-4</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>