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

    <tr>
        <th>Summary</th>
        <td>
            [ld.lld] missing RISCV_ATTRIBUTES segment
        </td>
    </tr>

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

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

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

<pre>
    forwarded from https://sourceware.org/bugzilla/show_bug.cgi?id=30237 :  

creating an lld-linked file:  

```
psykose-edge-riscv64:~$ clang main.c -fuse-ld=lld -o somebin
```

then stripping it with gnu binutils: 

```
psykose-edge-riscv64:~$ strip somebin
strip: stgnjAlO: not enough room for program headers, try linking with -N
strip: stgnjAlO[.interp]: bad value

psykose-edge-riscv64:~$ strip --version
GNU strip (GNU Binutils) 2.40
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
```

this is apparently a missing attribute segment in the output (given the other response), but i don't know anything about this area
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyclF-PozYUxT-N83IFYuxAyAMP-dOsRqq21c5sX1cG34B3jI3s60T0oZ-9MsNMu-q2lVaKSOD6Hn7n2LkyBN1bxIaVR1aeNzLS4Hxj8cVNYX5xATetU3Nzdf4uvUIFV-9GGIimwMSB8Qvjl-Ci7_AuPebO94xf2tj_ro2RqTa4-5c29nnXayYuWjFxFgUXO2DiAMCKMysOr9fOoyRte5AWjFGZ0fYlvVAb_MdaVhXrZ7ldWTNUPWZeh-5WbZk4_MH4FjojbQ-j1DbvILvGgJlJFMYoyBwEN2Kr7XdlX680oIVAXk9TotMEd00D9DZCq20kbVIUP4q3CH9LsTxKkoF6-_Vgfkm_rSNA62I_gHduhKvzMHnXeznCgFKhD4yfgPwMKbhEumBmH_9NtDzm2hL6iZXnVGilgps0Ef_u5P_Rs-yGPmi3wn_4-HktMF6nm-NbRnwPPN-ukZzcNHvdD5SWnZZawQVcPCI8uSul0wQXF62SlLT5CR5tl782Pw86vJvXAa6pK6xdTBxhdhFGOYNHpRNMGwnTxkWr0AMNCIR-DOCu71sMifUDWvTSwK-xNbqDn3WHNiCsBkGA84lXUnqDBze9su1B2hmMJPRva79HOsgAsg3OREIzg3Vwl95LS3P-n8dPh2RSTpP0aMnMIGHUISx_FXpzF7Af0RJou_hzkaa4hNvrG67PaEAPHsPkbEDG9ynVNhJoUMnGjuDFunsyQ8Oi3rpIsABIj3KjGqH2Yi832DxUdbmreVk9bIam2gqxq2us1bXq2hJ5tav2212x73hXtKra6CbtblEVoqjLqnjI91exe6i3Aku153XRsm2Bo9QmN-Y2pimy0SFEbCpR1NuNkS2asMwozi3eYSkyztPI8k3qydrYB7YtjA4U_lIhTWYZbkblxihWnt-j-_T4dPrty-H5-dPj8fPzT09vCW6iN823A67XNMQ279zI-CVpr1_Z5N1X7Ijxy0IUGL8sxH8GAAD__wxDtu0">