<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56208>56208</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
lld linker script syntax
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
kmistryic
</td>
</tr>
</table>
<pre>
`ENTRY(__start) ` works ok , lld can find the symbol and work as expected.
but `ENTRY("__start")` here lld consider even start and end quote as part of symbol name and it fails to find the name. throw below error.
`ld.lld: warning: cannot find entry symbol "__start"; not setting start address`
while both syntax works with gnu ld. please confirm if it's a bug if not why we deviated from gnu ld.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVUU2TnCAQ_TV46YrF4KgzBw-72eSYQyqXnLZQWiWDYADH9d-nccdsUqXYX773-tE6tTWs4l--_fj-k4nL62uI0kcmrkBVWJ2_BXA3YOIzGKOgkxZ6bRXEESFsU-sMSErTIMgA-DZjF1HljL8w_tQuEf5BZ0L8JRDEkShG9PgO7WzQCj3gHS3sUzs00vt7cRET_pyqrj-orZxwH9IReqlNgOg-9KVuTpF3K7Ro6ETvnX9oI3KjcmJmxROs0ltthxTSitbFdxS00W8H2f_qi2dIYwFjpB8PvUp5DIGgHxz7uY7aILQujgRlo3x7-Lpqqgx2AdIBs0EZMLnQaz-B7mknJuoAEtplSHmiW8cNVgSFdy3JZui9mw6ITDWFuhZXmUUdDTbJVKPtjSwNnddzfLBnizfNGOMcaF0mvtIzkJKlzTs3UWLM_fh8mr37RRdKqQ5hwUBBWQl-ycZGSDwX9QllVWPZCY68r3tRVOIkT5euvmZGkumhYeUzK18y3QguBK9EyYuiLsq8PddS0XjbljXntWJnjhPdYZ6Ic-eHzDe7Blo_UNPoEMNHU4agB4t44Msljs43t4nG_Ka7bBfc7Gr_AM7p9Xo">