<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60362>60362</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AVR] Do not emit a default `-Tdata` option to the linker when a user script is specified
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:AVR,
clang:driver
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
benshi001
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
benshi001
</td>
</tr>
</table>
<pre>
We usually emit a default `-Tdata` option in the clang driver, to help user set SRAM's start address according to each individual AVR device.
However if a user linker scrpit is specifed, we should not do that and follow the user's willing.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMkk9v3CAQxT8NvoyywuA_8cEHN6tVL72kVXoew9iehgUL8K7y7Ss7SdtjLyAh8d6b3xtMiWdP1Iv6i1BqJJ8WlrIUSon6XOCWlxD7P8_FGOxb_5NgSxs69wZ05QwIlibcXAbRyIcfFjOKRkJYMwcP7CEvBMahn8FGvlEU6glygIXcCluiCIkyfH8evgnVJkgZYwa0NlJKgMaEaNnP-w9CswB7yze2GzoYXp7B0o0NnUDIs5DD-_k13OlGEXgCfHdw7F93IxNXzsAJ0kqGJ7J7ljtBWsLmLPiQwQbIC2ZAb2EKzoX7McAuc-S7s3Ps51Nhe2073WFBfdm0Vdfoqm6KpdftpCacqmYs7ePYdmSlotJOphqxqqvHgnsllZal6qTWrW5OxrRV0z5O9dg15TiiqCRdkd3Judv1FOJccEob9Y3UjSocjuTSZ2VoXslboYfh5XmvTT0JpQ7aQg-fvI82Y7_LPYzbnEQlHaec_hpkzu5Yg12mPsM5HDD-o-AcDj4fhO8L-U_oyURe_6HNZIstun7JeU1CD0JdhLrMnJdtPJlwFeqy5_m4HtYYfpHJQl2O6ZNQlwPA7wAAAP__nBzigw">