summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools/binutils/binutils/0003-Disable-the-warning-message-for-eh_frame_hdr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils/binutils/0003-Disable-the-warning-message-for-eh_frame_hdr.patch')
-rw-r--r--meta-microblaze/recipes-devtools/binutils/binutils/0003-Disable-the-warning-message-for-eh_frame_hdr.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0003-Disable-the-warning-message-for-eh_frame_hdr.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0003-Disable-the-warning-message-for-eh_frame_hdr.patch
deleted file mode 100644
index 1c24a3d4..00000000
--- a/meta-microblaze/recipes-devtools/binutils/binutils/0003-Disable-the-warning-message-for-eh_frame_hdr.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 6f53d25f9817f4d9fbc8d838b36d7026d184e63f Mon Sep 17 00:00:00 2001
2From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
3Date: Fri, 22 Jun 2012 01:20:20 +0200
4Subject: [PATCH 03/34] Disable the warning message for eh_frame_hdr
5
6Upstream-Status: Pending
7
8Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
9
10Conflicts:
11 bfd/elf-eh-frame.c
12---
13 bfd/elf-eh-frame.c | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c
17index 2e22d0c9215..db470ed43c3 100644
18--- a/bfd/elf-eh-frame.c
19+++ b/bfd/elf-eh-frame.c
20@@ -1044,10 +1044,13 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info,
21 goto success;
22
23 free_no_table:
24+/* FIXME: Remove the microblaze specifics when relaxing gets fixed. */
25+if (bfd_get_arch(abfd) != bfd_arch_microblaze) {
26 _bfd_error_handler
27 /* xgettext:c-format */
28 (_("error in %pB(%pA); no .eh_frame_hdr table will be created"),
29 abfd, sec);
30+}
31 hdr_info->u.dwarf.table = false;
32 free (sec_info);
33 success:
34--
352.37.1 (Apple Git-137.1)
36