<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Like George and Dave, I also think that having some way to bypass these flag/type checks is not a bad idea. For instance I had to patch some our assembly files, because code sections missed "ax" attributes.​<br>
</p>
<p>If we already can merge nobits and progbits sections, why can't we do the same with alloc / non-alloc sections then? May be emit warning instead of error in such cases?<br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>От:</b> Rui Ueyama <ruiu@google.com><br>
<b>Отправлено:</b> 1 февраля 2017 г. 2:28<br>
<b>Кому:</b> Rafael Avila de Espindola<br>
<b>Копия:</b> George Rimar; Evgeny Leviant; llvm-commits@lists.llvm.org; reviews+D29324+public+1af718958cd66f3e@reviews.llvm.org<br>
<b>Тема:</b> Re: [PATCH] D29324: [ELF] - Allow to combine sections of type SHT_NOTE with different attributes.</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Tue, Jan 31, 2017 at 12:41 PM, Rafael Avila de Espindola
<span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<span class="">George Rimar <<a href="mailto:grimar@accesssoftek.com">grimar@accesssoftek.com</a>> writes:<br>
<br>
> Sure, I'll check that tomorrow and return with info.<br>
><br>
> By the way, may be we want to implement some simple option like -z permissive-flags, which<br>
> will ignore flags checks ? It looks it can be not a unique case for software that have such issues.<br>
<br>
</span>It is not clear it is worth it. If it is common, we should just make lld<br>
permissive. If it is one or two cases, we should try to fix those cases.<br>
</blockquote>
<div><br>
</div>
<div>I agree. Adding a new flag might be easy but removing it is extremely hard or even impossible, so naturally I'm conservative when doing it.</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>