diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-08 00:11:40 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-08 10:53:09 +0100 |
commit | 2be79f0b1d0d53b8750d28013543b7ee853c1b42 (patch) | |
tree | f3586a5ff28b61c572df87938881ce3455f72cd9 /meta/recipes-devtools/binutils/binutils/fix-pr2404.patch | |
parent | b3b6cfb48bb61f2efdd5c2325fcce3209b7894c7 (diff) | |
download | poky-2be79f0b1d0d53b8750d28013543b7ee853c1b42.tar.gz |
binutils: upgrade to 2.25
* Remove the following patches since they are already in the new code:
binutils/fix-pr15815.patch
binutils/fix-pr16428.patch
binutils/fix-pr16476.patch
binutils/fix-pr2404.patch
binutils/replace_macros_with_static_inline.patch
binutils/binutils_CVE-2014-8484.patch
binutils/binutils_CVE-2014-8485.patch
binutils/binutils_CVE-2014-8501.patch
binutils/binutils_CVE-2014-8502.patch
binutils/binutils_CVE-2014-8502_1.patch
binutils/binutils_CVE-2014-8503.patch
binutils/binutils_CVE-2014-8504.patch
binutils/binutils_CVE-2014-8737.patch
* The file src-release is gone.
* Updated patches for the new code.
(From OE-Core rev: a8446ea78daa5875de43eb5bcccd8f536ea07e1c)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Conflicts:
meta/conf/distro/include/tcmode-default.inc
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/fix-pr2404.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/fix-pr2404.patch | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/fix-pr2404.patch b/meta/recipes-devtools/binutils/binutils/fix-pr2404.patch deleted file mode 100644 index 41f35046fa..0000000000 --- a/meta/recipes-devtools/binutils/binutils/fix-pr2404.patch +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | From: H.J. Lu <hjl.tools@gmail.com> | ||
2 | Date: Tue, 21 Jan 2014 13:33:48 +0000 (-0800) | ||
3 | Subject: Don't check shared/export_dynamic/ref_dynamic for type mismatch | ||
4 | X-Git-Tag: hjl/linux/release/2.24.51.0.3~1^2~8^2~22 | ||
5 | X-Git-Url: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff_plain;h=22ef172a21663abb477d72284b4d59c8eabcbb82 | ||
6 | |||
7 | Don't check shared/export_dynamic/ref_dynamic for type mismatch | ||
8 | |||
9 | There is nothing linker can do when a type mismatched default definition | ||
10 | are made dynamic by info->shared, info->export_dynamic or h->ref_dynamic. | ||
11 | But we do want to avoid exporting it when building PIE. Let's remove | ||
12 | those checks. | ||
13 | |||
14 | bfd/ | ||
15 | |||
16 | PR ld/2404 | ||
17 | * elflink.c (_bfd_elf_merge_symbol): Don't check info->shared, | ||
18 | info->export_dynamic, nor !h->ref_dynamic for type mismatch when | ||
19 | adding the default version. | ||
20 | |||
21 | ld/testsuite/ | ||
22 | |||
23 | PR ld/2404 | ||
24 | * ld-elf/shared.exp: Add a PIE test for PR ld/2404. | ||
25 | |||
26 | Upstream-Status: Backport | ||
27 | --- | ||
28 | |||
29 | Index: binutils-2.24/bfd/elflink.c | ||
30 | =================================================================== | ||
31 | --- binutils-2.24.orig/bfd/elflink.c 2014-02-08 13:20:08.628378267 +0000 | ||
32 | +++ binutils-2.24/bfd/elflink.c 2014-02-08 13:20:08.624378267 +0000 | ||
33 | @@ -1090,9 +1090,6 @@ | ||
34 | the type of existing regular definition mismatch. We only do it | ||
35 | if the existing regular definition won't be dynamic. */ | ||
36 | if (pold_alignment == NULL | ||
37 | - && !info->shared | ||
38 | - && !info->export_dynamic | ||
39 | - && !h->ref_dynamic | ||
40 | && newdyn | ||
41 | && newdef | ||
42 | && !olddyn | ||
43 | Index: binutils-2.24/ld/testsuite/ld-elf/shared.exp | ||
44 | =================================================================== | ||
45 | --- binutils-2.24.orig/ld/testsuite/ld-elf/shared.exp 2014-02-08 13:20:08.628378267 +0000 | ||
46 | +++ binutils-2.24/ld/testsuite/ld-elf/shared.exp 2014-02-08 13:20:08.624378267 +0000 | ||
47 | @@ -432,3 +432,29 @@ | ||
48 | |||
49 | run_cc_link_tests $build_cxx_tests | ||
50 | run_ld_link_exec_tests [] $run_cxx_tests | ||
51 | + | ||
52 | +if { [istarget *-*-linux*] | ||
53 | + || [istarget *-*-nacl*] | ||
54 | + || [istarget *-*-gnu*] } { | ||
55 | + run_cc_link_tests [list \ | ||
56 | + [list \ | ||
57 | + "Build libpr2404b.a with PIE" \ | ||
58 | + "" \ | ||
59 | + "-fPIE" \ | ||
60 | + { pr2404b.c } \ | ||
61 | + {} \ | ||
62 | + "libpr2404b.a" \ | ||
63 | + ] \ | ||
64 | + ] | ||
65 | + run_ld_link_exec_tests [] [list \ | ||
66 | + [list \ | ||
67 | + "Run pr2404 with PIE" \ | ||
68 | + "-pie tmpdir/pr2404b.o tmpdir/libpr2404a.so" \ | ||
69 | + "" \ | ||
70 | + { dummy.c } \ | ||
71 | + "pr2404pie" \ | ||
72 | + "pr2404.out" \ | ||
73 | + "-fPIE" \ | ||
74 | + ] \ | ||
75 | + ] | ||
76 | +} | ||