<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57296>57296</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            clang generating wrong relocation info for ARM
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          akshaykumars614
      </td>
    </tr>
</table>

<pre>
    when you generate the elf for the following code 
https://godbolt.org/z/aYc6h33j7
using
$ readelf -a <testcase.o>
the clang is supposed to generate R_ARM_NONE type for .text.func2 symbol name  in .rel.debug_loc relocation section.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdkU1v3CAQhn8NvqBYNjZ4feCwbZJbUim3nlZjPLZJMFh8dLv99cXeVqkqATOjGeZ9GAY33uR1QUtvLtEZLXqISOOCFM1EJ-cPf3LGuKu2M1VuREqqR1Kdlxi3QJozYc95zW4cnIml83OOfuUN35VYmua9u5enkO_fXcJa6hHGXeIBKGm-RgxRQcDSkebpXrTrKgNZUwca0ra5gCON7pPy7XJ-e7m8fnt9ovG24UFbRvwZyylZxWi4rRmJWliRUm1p6dGUIw5pvhinMkE-IWpnaUC127JAWQtRs7av-akYZTP2TQ9F1NGgvMP8Ud9ncfUun_-00XZyB0XmKpI38r8R6bikoVRuzYExP_6ah82790yQQx1CwpAd3rFeFIvs-dSpDngPSgwo8IS8EsBZzaHhXNSFgQFNkIR_IYxZvNKjRfYJfyy0ZBVj1Yk1dVVxfiqF6JBVdTdgC50YkbQVrqBNuXPsf1d4eSDlIYWcNDrE8JmEEPRsEQ-53B9SXJyX8BEWuH2kFXwQdVscCPJ4wm9rCcc0">