|
|
@ -0,0 +1,255 @@ |
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: package/.../binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch |
|
|
|
# Copyright (C) 2020 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
|
# This patch file is dual-licensed. It is available under the license the |
|
|
|
# patched project is licensed under, as long as it is an OpenSource license |
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
|
|
# of the GNU General Public License as published by the Free Software |
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later |
|
|
|
# version. |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
<!DOCTYPE html> |
|
|
|
<html lang='en'> |
|
|
|
<head> |
|
|
|
<title>0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch\binutils\main - aports - Unnamed repository; edit this file 'description' to name the repository. |
|
|
|
</title> |
|
|
|
<meta name='generator' content='cgit v1.2.1'/> |
|
|
|
<meta name='robots' content='index, nofollow'/> |
|
|
|
<link rel='stylesheet' type='text/css' href='/cgit.css'/> |
|
|
|
<link rel='shortcut icon' href='//alpinelinux.org/alpine-logo.ico'/> |
|
|
|
<link rel='alternate' title='Atom feed' href='http://git.alpinelinux.org/aports/atom/main/binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch?h=master' type='application/atom+xml'/> |
|
|
|
<link rel='vcs-git' href='git://git.alpinelinux.org/aports' title='aports Git repository'/> |
|
|
|
<link rel='vcs-git' href='https://git.alpinelinux.org/aports' title='aports Git repository'/> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<div id='cgit'><table id='header'> |
|
|
|
<tr> |
|
|
|
<td class='logo' rowspan='2'><a href='/'><img src='//wiki.alpinelinux.org/images/alogo.png' alt='cgit logo'/></a></td> |
|
|
|
<td class='main'><a href='/'>index</a> : <a title='aports' href='/aports/'>aports</a></td><td class='form'><form method='get'> |
|
|
|
<select name='h' onchange='this.form.submit();'> |
|
|
|
<option value='1.10-stable'>1.10-stable</option> |
|
|
|
<option value='1.9'>1.9</option> |
|
|
|
<option value='2.0-stable'>2.0-stable</option> |
|
|
|
<option value='2.1-stable'>2.1-stable</option> |
|
|
|
<option value='2.2-stable'>2.2-stable</option> |
|
|
|
<option value='2.3-stable'>2.3-stable</option> |
|
|
|
<option value='2.4-stable'>2.4-stable</option> |
|
|
|
<option value='2.5-stable'>2.5-stable</option> |
|
|
|
<option value='2.6-stable'>2.6-stable</option> |
|
|
|
<option value='2.7-stable'>2.7-stable</option> |
|
|
|
<option value='3.0-stable'>3.0-stable</option> |
|
|
|
<option value='3.1-stable'>3.1-stable</option> |
|
|
|
<option value='3.10-stable'>3.10-stable</option> |
|
|
|
<option value='3.11-stable'>3.11-stable</option> |
|
|
|
<option value='3.12-stable'>3.12-stable</option> |
|
|
|
<option value='3.2-stable'>3.2-stable</option> |
|
|
|
<option value='3.3-stable'>3.3-stable</option> |
|
|
|
<option value='3.4-stable'>3.4-stable</option> |
|
|
|
<option value='3.5-stable'>3.5-stable</option> |
|
|
|
<option value='3.6-stable'>3.6-stable</option> |
|
|
|
<option value='3.7-stable'>3.7-stable</option> |
|
|
|
<option value='3.8-stable'>3.8-stable</option> |
|
|
|
<option value='3.9-stable'>3.9-stable</option> |
|
|
|
<option value='master' selected='selected'>master</option> |
|
|
|
</select> <input type='submit' value='switch'/></form></td></tr> |
|
|
|
<tr><td class='sub'>Unnamed repository; edit this file 'description' to name the repository. |
|
|
|
</td><td class='sub right'>uwsgi</td></tr></table> |
|
|
|
<table class='tabs'><tr><td> |
|
|
|
<a href='/aports/about/'>about</a><a href='/aports/'>summary</a><a href='/aports/refs/'>refs</a><a href='/aports/log/main/binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch'>log</a><a class='active' href='/aports/tree/main/binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch'>tree</a><a href='/aports/commit/main/binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch'>commit</a><a href='/aports/diff/main/binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch'>diff</a><a href='/aports/stats/main/binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch'>stats</a></td><td class='form'><form class='right' method='get' action='/aports/log/main/binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch'> |
|
|
|
<select name='qt'> |
|
|
|
<option value='grep'>log msg</option> |
|
|
|
<option value='author'>author</option> |
|
|
|
<option value='committer'>committer</option> |
|
|
|
<option value='range'>range</option> |
|
|
|
</select> |
|
|
|
<input class='txt' type='search' size='10' name='q' value=''/> |
|
|
|
<input type='submit' value='search'/> |
|
|
|
</form> |
|
|
|
</td></tr></table> |
|
|
|
<div class='path'>path: <a href='/aports/tree/'>root</a>/<a href='/aports/tree/main'>main</a>/<a href='/aports/tree/main/binutils'>binutils</a>/<a href='/aports/tree/main/binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch'>0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch</a></div><div class='content'>blob: 5de937f4fcce88d4ab1478af6c83b0e305584ba9 (<a href='/aports/plain/main/binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch'>plain</a>) (<a href='/aports/blame/main/binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch'>blame</a>) |
|
|
|
<table summary='blob content' class='blob'> |
|
|
|
<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a> |
|
|
|
<a id='n2' href='#n2'>2</a> |
|
|
|
<a id='n3' href='#n3'>3</a> |
|
|
|
<a id='n4' href='#n4'>4</a> |
|
|
|
<a id='n5' href='#n5'>5</a> |
|
|
|
<a id='n6' href='#n6'>6</a> |
|
|
|
<a id='n7' href='#n7'>7</a> |
|
|
|
<a id='n8' href='#n8'>8</a> |
|
|
|
<a id='n9' href='#n9'>9</a> |
|
|
|
<a id='n10' href='#n10'>10</a> |
|
|
|
<a id='n11' href='#n11'>11</a> |
|
|
|
<a id='n12' href='#n12'>12</a> |
|
|
|
<a id='n13' href='#n13'>13</a> |
|
|
|
<a id='n14' href='#n14'>14</a> |
|
|
|
<a id='n15' href='#n15'>15</a> |
|
|
|
<a id='n16' href='#n16'>16</a> |
|
|
|
<a id='n17' href='#n17'>17</a> |
|
|
|
<a id='n18' href='#n18'>18</a> |
|
|
|
<a id='n19' href='#n19'>19</a> |
|
|
|
<a id='n20' href='#n20'>20</a> |
|
|
|
<a id='n21' href='#n21'>21</a> |
|
|
|
<a id='n22' href='#n22'>22</a> |
|
|
|
<a id='n23' href='#n23'>23</a> |
|
|
|
<a id='n24' href='#n24'>24</a> |
|
|
|
<a id='n25' href='#n25'>25</a> |
|
|
|
<a id='n26' href='#n26'>26</a> |
|
|
|
<a id='n27' href='#n27'>27</a> |
|
|
|
<a id='n28' href='#n28'>28</a> |
|
|
|
<a id='n29' href='#n29'>29</a> |
|
|
|
<a id='n30' href='#n30'>30</a> |
|
|
|
<a id='n31' href='#n31'>31</a> |
|
|
|
<a id='n32' href='#n32'>32</a> |
|
|
|
<a id='n33' href='#n33'>33</a> |
|
|
|
<a id='n34' href='#n34'>34</a> |
|
|
|
<a id='n35' href='#n35'>35</a> |
|
|
|
<a id='n36' href='#n36'>36</a> |
|
|
|
<a id='n37' href='#n37'>37</a> |
|
|
|
<a id='n38' href='#n38'>38</a> |
|
|
|
<a id='n39' href='#n39'>39</a> |
|
|
|
<a id='n40' href='#n40'>40</a> |
|
|
|
<a id='n41' href='#n41'>41</a> |
|
|
|
<a id='n42' href='#n42'>42</a> |
|
|
|
<a id='n43' href='#n43'>43</a> |
|
|
|
<a id='n44' href='#n44'>44</a> |
|
|
|
<a id='n45' href='#n45'>45</a> |
|
|
|
<a id='n46' href='#n46'>46</a> |
|
|
|
<a id='n47' href='#n47'>47</a> |
|
|
|
<a id='n48' href='#n48'>48</a> |
|
|
|
<a id='n49' href='#n49'>49</a> |
|
|
|
<a id='n50' href='#n50'>50</a> |
|
|
|
<a id='n51' href='#n51'>51</a> |
|
|
|
<a id='n52' href='#n52'>52</a> |
|
|
|
<a id='n53' href='#n53'>53</a> |
|
|
|
<a id='n54' href='#n54'>54</a> |
|
|
|
<a id='n55' href='#n55'>55</a> |
|
|
|
<a id='n56' href='#n56'>56</a> |
|
|
|
<a id='n57' href='#n57'>57</a> |
|
|
|
<a id='n58' href='#n58'>58</a> |
|
|
|
<a id='n59' href='#n59'>59</a> |
|
|
|
<a id='n60' href='#n60'>60</a> |
|
|
|
<a id='n61' href='#n61'>61</a> |
|
|
|
<a id='n62' href='#n62'>62</a> |
|
|
|
<a id='n63' href='#n63'>63</a> |
|
|
|
<a id='n64' href='#n64'>64</a> |
|
|
|
<a id='n65' href='#n65'>65</a> |
|
|
|
<a id='n66' href='#n66'>66</a> |
|
|
|
<a id='n67' href='#n67'>67</a> |
|
|
|
<a id='n68' href='#n68'>68</a> |
|
|
|
<a id='n69' href='#n69'>69</a> |
|
|
|
<a id='n70' href='#n70'>70</a> |
|
|
|
<a id='n71' href='#n71'>71</a> |
|
|
|
<a id='n72' href='#n72'>72</a> |
|
|
|
<a id='n73' href='#n73'>73</a> |
|
|
|
<a id='n74' href='#n74'>74</a> |
|
|
|
<a id='n75' href='#n75'>75</a> |
|
|
|
<a id='n76' href='#n76'>76</a> |
|
|
|
<a id='n77' href='#n77'>77</a> |
|
|
|
<a id='n78' href='#n78'>78</a> |
|
|
|
<a id='n79' href='#n79'>79</a> |
|
|
|
<a id='n80' href='#n80'>80</a> |
|
|
|
<a id='n81' href='#n81'>81</a> |
|
|
|
<a id='n82' href='#n82'>82</a> |
|
|
|
<a id='n83' href='#n83'>83</a> |
|
|
|
<a id='n84' href='#n84'>84</a> |
|
|
|
<a id='n85' href='#n85'>85</a> |
|
|
|
<a id='n86' href='#n86'>86</a> |
|
|
|
</pre></td> |
|
|
|
<td class='lines'><pre><code>From b1faf99f3e546df2cd302bb1ad36a2078224fe8b Mon Sep 17 00:00:00 2001 |
|
|
|
From: Ariadne Conill <ariadne@dereferenced.org> |
|
|
|
Date: Fri, 30 Oct 2020 16:59:48 -0600 |
|
|
|
Subject: [PATCH] Revert "PR25882, .gnu.attributes are not checked for shared |
|
|
|
libraries" |
|
|
|
|
|
|
|
This reverts commit a8acd6eeb6dc2cc5460ece90f90ebe36b56b20ba. |
|
|
|
<span style="color:#000000; font-weight:bold">---</span> |
|
|
|
bfd/ChangeLog | 6 ------ |
|
|
|
bfd/elf32-tic6x.c | 3 --- |
|
|
|
ld/ChangeLog | 6 ------ |
|
|
|
ld/ldlang.c | 9 ++++----- |
|
|
|
4 files changed, 4 insertions(+), 20 deletions(-) |
|
|
|
|
|
|
|
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
|
|
|
|
index 9fac12538a..b5461494e8 100644
|
|
|
|
<span style="color:#000000; font-weight:bold">--- a/bfd/ChangeLog</span> |
|
|
|
<span style="color:#0057ae">+++ b/bfd/ChangeLog</span> |
|
|
|
<span style="color:#010181">@@ -1422,12 +1422,6 @@</span> |
|
|
|
accessing root.u.def of symbols. Also check root.u.def.section |
|
|
|
is non-NULL. Reverse tests so as to make the logic positive. |
|
|
|
|
|
|
|
<span style="color:#000000; font-weight:bold">-2020-05-01 Alan Modra <amodra@gmail.com></span> |
|
|
|
<span style="color:#000000; font-weight:bold">-</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- PR 25882</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- * elf32-tic6x.c (elf32_tic6x_merge_attributes): Don't transfer</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- Tag_ABI_PIC or Tag_ABI_PID from dynamic objects to the output.</span> |
|
|
|
<span style="color:#000000; font-weight:bold">-</span> |
|
|
|
2020-05-01 Alan Modra <amodra@gmail.com> |
|
|
|
|
|
|
|
PR 25882 |
|
|
|
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
|
|
|
|
index b8b916bfd3..91bb6a10b1 100644
|
|
|
|
<span style="color:#000000; font-weight:bold">--- a/bfd/elf32-tic6x.c</span> |
|
|
|
<span style="color:#0057ae">+++ b/bfd/elf32-tic6x.c</span> |
|
|
|
@@ -3748,9 +3748,6 @@ elf32_tic6x_merge_attributes (bfd *ibfd, struct bfd_link_info *info) |
|
|
|
|
|
|
|
case Tag_ABI_PIC: |
|
|
|
case Tag_ABI_PID: |
|
|
|
<span style="color:#000000; font-weight:bold">- /* Don't transfer these tags from dynamic objects. */</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- if ((ibfd->flags & DYNAMIC) != 0)</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- continue;</span> |
|
|
|
if (out_attr[i].i > in_attr[i].i) |
|
|
|
out_attr[i].i = in_attr[i].i; |
|
|
|
break; |
|
|
|
diff --git a/ld/ChangeLog b/ld/ChangeLog
|
|
|
|
index 4eec7d2977..b93452f70c 100644
|
|
|
|
<span style="color:#000000; font-weight:bold">--- a/ld/ChangeLog</span> |
|
|
|
<span style="color:#0057ae">+++ b/ld/ChangeLog</span> |
|
|
|
<span style="color:#010181">@@ -1319,12 +1319,6 @@</span> |
|
|
|
* testsuite/ld-aarch64/farcall-group.d: New test driver. |
|
|
|
* testsuite/ld-aarch64/aarch64-elf.exp: Run the new test. |
|
|
|
|
|
|
|
<span style="color:#000000; font-weight:bold">-2020-05-01 Alan Modra <amodra@gmail.com></span> |
|
|
|
<span style="color:#000000; font-weight:bold">-</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- PR 25882</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- * ldlang.c (lang_check): Call bfd_merge_private_bfd_data for</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- shared libraries.</span> |
|
|
|
<span style="color:#000000; font-weight:bold">-</span> |
|
|
|
2020-05-01 Alan Modra <amodra@gmail.com> |
|
|
|
|
|
|
|
* po/BLD-POTFILES.in: Regenerate. |
|
|
|
diff --git a/ld/ldlang.c b/ld/ldlang.c
|
|
|
|
index 9977195074..173d8ec349 100644
|
|
|
|
<span style="color:#000000; font-weight:bold">--- a/ld/ldlang.c</span> |
|
|
|
<span style="color:#0057ae">+++ b/ld/ldlang.c</span> |
|
|
|
@@ -6972,12 +6972,11 @@ lang_check (void) |
|
|
|
bfd_printable_name (input_bfd), input_bfd, |
|
|
|
bfd_printable_name (link_info.output_bfd)); |
|
|
|
} |
|
|
|
<span style="color:#000000; font-weight:bold">-</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- /* If the input bfd has no contents, it shouldn't set the</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- private data of the output bfd. */</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- else if ((input_bfd->flags & DYNAMIC) != 0</span> |
|
|
|
<span style="color:#000000; font-weight:bold">- || bfd_count_sections (input_bfd) != 0)</span> |
|
|
|
<span style="color:#0057ae">+ else if (bfd_count_sections (input_bfd))</span> |
|
|
|
{ |
|
|
|
<span style="color:#0057ae">+ /* If the input bfd has no contents, it shouldn't set the</span> |
|
|
|
<span style="color:#0057ae">+ private data of the output bfd. */</span> |
|
|
|
<span style="color:#0057ae">+</span> |
|
|
|
bfd_error_handler_type pfn = NULL; |
|
|
|
|
|
|
|
/* If we aren't supposed to warn about mismatched input |
|
|
|
<span style="color:#000000; font-weight:bold">-- </span> |
|
|
|
2.29.2 |
|
|
|
|
|
|
|
</code></pre></td></tr></table> |
|
|
|
</div> <!-- class=content --> |
|
|
|
<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit v1.2.1</a> (<a href='https://git-scm.com/'>git 2.18.0</a>) at 2020-11-06 09:59:19 +0000</div> |
|
|
|
</div> <!-- id=cgit --> |
|
|
|
</body> |
|
|
|
</html> |