summaryrefslogtreecommitdiffstats
path: root/recipes-microblaze/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2015-09-02 21:13:49 +1000
committerNathan Rossi <nathan@nathanrossi.com>2015-09-02 21:13:49 +1000
commitb7960e3fc669cf2fda93265db9776d867d44683a (patch)
treeca714fadeeb5807260a8888c9e16e1c3b9183be3 /recipes-microblaze/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch
parent08d2ad0f03fecf211355312264f20a15368b67d1 (diff)
downloadmeta-xilinx-b7960e3fc669cf2fda93265db9776d867d44683a.tar.gz
binutils: Update and drop patches
* Update recipe for minor 2.25 update in core * Drop any patches which are not upstream and are not required for a functional linux system * Use wildcard to make the recipe append to multiple versions of binutils Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-microblaze/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch')
-rw-r--r--recipes-microblaze/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-microblaze/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch b/recipes-microblaze/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch
deleted file mode 100644
index f6616a1b..00000000
--- a/recipes-microblaze/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
2Date: Fri, 22 Jun 2012 01:20:20 +0200
3Subject: Disable the warning message for eh_frame_hdr
4
5Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
6Upstream-Status: Pending
7---
8 bfd/elf-eh-frame.c | 9 ++++++---
9 1 file changed, 6 insertions(+), 3 deletions(-)
10
11diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c
12index a75d806..de69cef 100644
13--- a/bfd/elf-eh-frame.c
14+++ b/bfd/elf-eh-frame.c
15@@ -913,9 +913,12 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info,
16 goto success;
17
18 free_no_table:
19- (*info->callbacks->einfo)
20- (_("%P: error in %B(%A); no .eh_frame_hdr table will be created.\n"),
21- abfd, sec);
22+ /* FIXME: Remove the microblaze specifics when relaxing gets fixed. */
23+ if (bfd_get_arch(abfd) != bfd_arch_microblaze) {
24+ (*info->callbacks->einfo)
25+ (_("%P: error in %B(%A); no .eh_frame_hdr table will be created.\n"),
26+ abfd, sec);
27+ }
28 hdr_info->table = FALSE;
29 if (sec_info)
30 free (sec_info);
31--
321.7.9.5
33