blob: 09af3e82b23fc183f0fc8759e1370a16a53aff51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
From 7982c0bdd92531bca3b829255324a769df9521e1 Mon Sep 17 00:00:00 2001
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
Date: Fri, 22 Jun 2012 01:20:20 +0200
Subject: [PATCH 03/38] Disable the warning message for eh_frame_hdr
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Conflicts:
bfd/elf-eh-frame.c
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
---
bfd/elf-eh-frame.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c
index 2e22d0c9215..db470ed43c3 100644
--- a/bfd/elf-eh-frame.c
+++ b/bfd/elf-eh-frame.c
@@ -1044,10 +1044,13 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info,
goto success;
free_no_table:
+/* FIXME: Remove the microblaze specifics when relaxing gets fixed. */
+if (bfd_get_arch(abfd) != bfd_arch_microblaze) {
_bfd_error_handler
/* xgettext:c-format */
(_("error in %pB(%pA); no .eh_frame_hdr table will be created"),
abfd, sec);
+}
hdr_info->u.dwarf.table = false;
free (sec_info);
success:
--
2.25.1
|