OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

255 lines
12 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../binutils/0001-Revert-PR25882-.gnu.attributes-are-not-checked-for-s.patch
  5. # Copyright (C) 2020 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. <!DOCTYPE html>
  17. <html lang='en'>
  18. <head>
  19. <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.
  20. </title>
  21. <meta name='generator' content='cgit v1.2.1'/>
  22. <meta name='robots' content='index, nofollow'/>
  23. <link rel='stylesheet' type='text/css' href='/cgit.css'/>
  24. <link rel='shortcut icon' href='//alpinelinux.org/alpine-logo.ico'/>
  25. <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'/>
  26. <link rel='vcs-git' href='git://git.alpinelinux.org/aports' title='aports Git repository'/>
  27. <link rel='vcs-git' href='https://git.alpinelinux.org/aports' title='aports Git repository'/>
  28. </head>
  29. <body>
  30. <div id='cgit'><table id='header'>
  31. <tr>
  32. <td class='logo' rowspan='2'><a href='/'><img src='//wiki.alpinelinux.org/images/alogo.png' alt='cgit logo'/></a></td>
  33. <td class='main'><a href='/'>index</a> : <a title='aports' href='/aports/'>aports</a></td><td class='form'><form method='get'>
  34. <select name='h' onchange='this.form.submit();'>
  35. <option value='1.10-stable'>1.10-stable</option>
  36. <option value='1.9'>1.9</option>
  37. <option value='2.0-stable'>2.0-stable</option>
  38. <option value='2.1-stable'>2.1-stable</option>
  39. <option value='2.2-stable'>2.2-stable</option>
  40. <option value='2.3-stable'>2.3-stable</option>
  41. <option value='2.4-stable'>2.4-stable</option>
  42. <option value='2.5-stable'>2.5-stable</option>
  43. <option value='2.6-stable'>2.6-stable</option>
  44. <option value='2.7-stable'>2.7-stable</option>
  45. <option value='3.0-stable'>3.0-stable</option>
  46. <option value='3.1-stable'>3.1-stable</option>
  47. <option value='3.10-stable'>3.10-stable</option>
  48. <option value='3.11-stable'>3.11-stable</option>
  49. <option value='3.12-stable'>3.12-stable</option>
  50. <option value='3.2-stable'>3.2-stable</option>
  51. <option value='3.3-stable'>3.3-stable</option>
  52. <option value='3.4-stable'>3.4-stable</option>
  53. <option value='3.5-stable'>3.5-stable</option>
  54. <option value='3.6-stable'>3.6-stable</option>
  55. <option value='3.7-stable'>3.7-stable</option>
  56. <option value='3.8-stable'>3.8-stable</option>
  57. <option value='3.9-stable'>3.9-stable</option>
  58. <option value='master' selected='selected'>master</option>
  59. </select> <input type='submit' value='switch'/></form></td></tr>
  60. <tr><td class='sub'>Unnamed repository; edit this file 'description' to name the repository.
  61. </td><td class='sub right'>uwsgi</td></tr></table>
  62. <table class='tabs'><tr><td>
  63. <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'>
  64. <select name='qt'>
  65. <option value='grep'>log msg</option>
  66. <option value='author'>author</option>
  67. <option value='committer'>committer</option>
  68. <option value='range'>range</option>
  69. </select>
  70. <input class='txt' type='search' size='10' name='q' value=''/>
  71. <input type='submit' value='search'/>
  72. </form>
  73. </td></tr></table>
  74. <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>)
  75. <table summary='blob content' class='blob'>
  76. <tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
  77. <a id='n2' href='#n2'>2</a>
  78. <a id='n3' href='#n3'>3</a>
  79. <a id='n4' href='#n4'>4</a>
  80. <a id='n5' href='#n5'>5</a>
  81. <a id='n6' href='#n6'>6</a>
  82. <a id='n7' href='#n7'>7</a>
  83. <a id='n8' href='#n8'>8</a>
  84. <a id='n9' href='#n9'>9</a>
  85. <a id='n10' href='#n10'>10</a>
  86. <a id='n11' href='#n11'>11</a>
  87. <a id='n12' href='#n12'>12</a>
  88. <a id='n13' href='#n13'>13</a>
  89. <a id='n14' href='#n14'>14</a>
  90. <a id='n15' href='#n15'>15</a>
  91. <a id='n16' href='#n16'>16</a>
  92. <a id='n17' href='#n17'>17</a>
  93. <a id='n18' href='#n18'>18</a>
  94. <a id='n19' href='#n19'>19</a>
  95. <a id='n20' href='#n20'>20</a>
  96. <a id='n21' href='#n21'>21</a>
  97. <a id='n22' href='#n22'>22</a>
  98. <a id='n23' href='#n23'>23</a>
  99. <a id='n24' href='#n24'>24</a>
  100. <a id='n25' href='#n25'>25</a>
  101. <a id='n26' href='#n26'>26</a>
  102. <a id='n27' href='#n27'>27</a>
  103. <a id='n28' href='#n28'>28</a>
  104. <a id='n29' href='#n29'>29</a>
  105. <a id='n30' href='#n30'>30</a>
  106. <a id='n31' href='#n31'>31</a>
  107. <a id='n32' href='#n32'>32</a>
  108. <a id='n33' href='#n33'>33</a>
  109. <a id='n34' href='#n34'>34</a>
  110. <a id='n35' href='#n35'>35</a>
  111. <a id='n36' href='#n36'>36</a>
  112. <a id='n37' href='#n37'>37</a>
  113. <a id='n38' href='#n38'>38</a>
  114. <a id='n39' href='#n39'>39</a>
  115. <a id='n40' href='#n40'>40</a>
  116. <a id='n41' href='#n41'>41</a>
  117. <a id='n42' href='#n42'>42</a>
  118. <a id='n43' href='#n43'>43</a>
  119. <a id='n44' href='#n44'>44</a>
  120. <a id='n45' href='#n45'>45</a>
  121. <a id='n46' href='#n46'>46</a>
  122. <a id='n47' href='#n47'>47</a>
  123. <a id='n48' href='#n48'>48</a>
  124. <a id='n49' href='#n49'>49</a>
  125. <a id='n50' href='#n50'>50</a>
  126. <a id='n51' href='#n51'>51</a>
  127. <a id='n52' href='#n52'>52</a>
  128. <a id='n53' href='#n53'>53</a>
  129. <a id='n54' href='#n54'>54</a>
  130. <a id='n55' href='#n55'>55</a>
  131. <a id='n56' href='#n56'>56</a>
  132. <a id='n57' href='#n57'>57</a>
  133. <a id='n58' href='#n58'>58</a>
  134. <a id='n59' href='#n59'>59</a>
  135. <a id='n60' href='#n60'>60</a>
  136. <a id='n61' href='#n61'>61</a>
  137. <a id='n62' href='#n62'>62</a>
  138. <a id='n63' href='#n63'>63</a>
  139. <a id='n64' href='#n64'>64</a>
  140. <a id='n65' href='#n65'>65</a>
  141. <a id='n66' href='#n66'>66</a>
  142. <a id='n67' href='#n67'>67</a>
  143. <a id='n68' href='#n68'>68</a>
  144. <a id='n69' href='#n69'>69</a>
  145. <a id='n70' href='#n70'>70</a>
  146. <a id='n71' href='#n71'>71</a>
  147. <a id='n72' href='#n72'>72</a>
  148. <a id='n73' href='#n73'>73</a>
  149. <a id='n74' href='#n74'>74</a>
  150. <a id='n75' href='#n75'>75</a>
  151. <a id='n76' href='#n76'>76</a>
  152. <a id='n77' href='#n77'>77</a>
  153. <a id='n78' href='#n78'>78</a>
  154. <a id='n79' href='#n79'>79</a>
  155. <a id='n80' href='#n80'>80</a>
  156. <a id='n81' href='#n81'>81</a>
  157. <a id='n82' href='#n82'>82</a>
  158. <a id='n83' href='#n83'>83</a>
  159. <a id='n84' href='#n84'>84</a>
  160. <a id='n85' href='#n85'>85</a>
  161. <a id='n86' href='#n86'>86</a>
  162. </pre></td>
  163. <td class='lines'><pre><code>From b1faf99f3e546df2cd302bb1ad36a2078224fe8b Mon Sep 17 00:00:00 2001
  164. From: Ariadne Conill &lt;ariadne&#64;dereferenced.org&gt;
  165. Date: Fri, 30 Oct 2020 16:59:48 -0600
  166. Subject: [PATCH] Revert &quot;PR25882, .gnu.attributes are not checked for shared
  167. libraries&quot;
  168. This reverts commit a8acd6eeb6dc2cc5460ece90f90ebe36b56b20ba.
  169. <span style="color:#000000; font-weight:bold">---</span>
  170. bfd/ChangeLog | 6 ------
  171. bfd/elf32-tic6x.c | 3 ---
  172. ld/ChangeLog | 6 ------
  173. ld/ldlang.c | 9 ++++-----
  174. 4 files changed, 4 insertions(+), 20 deletions(-)
  175. diff --git a/bfd/ChangeLog b/bfd/ChangeLog
  176. index 9fac12538a..b5461494e8 100644
  177. <span style="color:#000000; font-weight:bold">--- a/bfd/ChangeLog</span>
  178. <span style="color:#0057ae">+++ b/bfd/ChangeLog</span>
  179. <span style="color:#010181">&#64;&#64; -1422,12 +1422,6 &#64;&#64;</span>
  180. accessing root.u.def of symbols. Also check root.u.def.section
  181. is non-NULL. Reverse tests so as to make the logic positive.
  182. <span style="color:#000000; font-weight:bold">-2020-05-01 Alan Modra &lt;amodra&#64;gmail.com&gt;</span>
  183. <span style="color:#000000; font-weight:bold">-</span>
  184. <span style="color:#000000; font-weight:bold">- PR 25882</span>
  185. <span style="color:#000000; font-weight:bold">- * elf32-tic6x.c (elf32_tic6x_merge_attributes): Don&#39;t transfer</span>
  186. <span style="color:#000000; font-weight:bold">- Tag_ABI_PIC or Tag_ABI_PID from dynamic objects to the output.</span>
  187. <span style="color:#000000; font-weight:bold">-</span>
  188. 2020-05-01 Alan Modra &lt;amodra&#64;gmail.com&gt;
  189. PR 25882
  190. diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
  191. index b8b916bfd3..91bb6a10b1 100644
  192. <span style="color:#000000; font-weight:bold">--- a/bfd/elf32-tic6x.c</span>
  193. <span style="color:#0057ae">+++ b/bfd/elf32-tic6x.c</span>
  194. &#64;&#64; -3748,9 +3748,6 &#64;&#64; elf32_tic6x_merge_attributes (bfd *ibfd, struct bfd_link_info *info)
  195. case Tag_ABI_PIC:
  196. case Tag_ABI_PID:
  197. <span style="color:#000000; font-weight:bold">- /* Don&#39;t transfer these tags from dynamic objects. */</span>
  198. <span style="color:#000000; font-weight:bold">- if ((ibfd-&gt;flags &amp; DYNAMIC) != 0)</span>
  199. <span style="color:#000000; font-weight:bold">- continue;</span>
  200. if (out_attr[i].i &gt; in_attr[i].i)
  201. out_attr[i].i = in_attr[i].i;
  202. break;
  203. diff --git a/ld/ChangeLog b/ld/ChangeLog
  204. index 4eec7d2977..b93452f70c 100644
  205. <span style="color:#000000; font-weight:bold">--- a/ld/ChangeLog</span>
  206. <span style="color:#0057ae">+++ b/ld/ChangeLog</span>
  207. <span style="color:#010181">&#64;&#64; -1319,12 +1319,6 &#64;&#64;</span>
  208. * testsuite/ld-aarch64/farcall-group.d: New test driver.
  209. * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
  210. <span style="color:#000000; font-weight:bold">-2020-05-01 Alan Modra &lt;amodra&#64;gmail.com&gt;</span>
  211. <span style="color:#000000; font-weight:bold">-</span>
  212. <span style="color:#000000; font-weight:bold">- PR 25882</span>
  213. <span style="color:#000000; font-weight:bold">- * ldlang.c (lang_check): Call bfd_merge_private_bfd_data for</span>
  214. <span style="color:#000000; font-weight:bold">- shared libraries.</span>
  215. <span style="color:#000000; font-weight:bold">-</span>
  216. 2020-05-01 Alan Modra &lt;amodra&#64;gmail.com&gt;
  217. * po/BLD-POTFILES.in: Regenerate.
  218. diff --git a/ld/ldlang.c b/ld/ldlang.c
  219. index 9977195074..173d8ec349 100644
  220. <span style="color:#000000; font-weight:bold">--- a/ld/ldlang.c</span>
  221. <span style="color:#0057ae">+++ b/ld/ldlang.c</span>
  222. &#64;&#64; -6972,12 +6972,11 &#64;&#64; lang_check (void)
  223. bfd_printable_name (input_bfd), input_bfd,
  224. bfd_printable_name (link_info.output_bfd));
  225. }
  226. <span style="color:#000000; font-weight:bold">-</span>
  227. <span style="color:#000000; font-weight:bold">- /* If the input bfd has no contents, it shouldn&#39;t set the</span>
  228. <span style="color:#000000; font-weight:bold">- private data of the output bfd. */</span>
  229. <span style="color:#000000; font-weight:bold">- else if ((input_bfd-&gt;flags &amp; DYNAMIC) != 0</span>
  230. <span style="color:#000000; font-weight:bold">- || bfd_count_sections (input_bfd) != 0)</span>
  231. <span style="color:#0057ae">+ else if (bfd_count_sections (input_bfd))</span>
  232. {
  233. <span style="color:#0057ae">+ /* If the input bfd has no contents, it shouldn&#39;t set the</span>
  234. <span style="color:#0057ae">+ private data of the output bfd. */</span>
  235. <span style="color:#0057ae">+</span>
  236. bfd_error_handler_type pfn = NULL;
  237. /* If we aren&#39;t supposed to warn about mismatched input
  238. <span style="color:#000000; font-weight:bold">-- </span>
  239. 2.29.2
  240. </code></pre></td></tr></table>
  241. </div> <!-- class=content -->
  242. <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>
  243. </div> <!-- id=cgit -->
  244. </body>
  245. </html>