blob: 534153708f296b5023e0b1b86ea0961617b7f588 [file] [log] [blame]
Andrew Geissler84ad7c52020-06-27 00:00:16 -05001From 68fe2e975f229cce08029b3a5afb06132f1cb31c Mon Sep 17 00:00:00 2001
Brad Bishop26bdd442019-08-16 17:08:17 -04002From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
3Date: Fri, 22 Jun 2012 01:20:20 +0200
Andrew Geissler84ad7c52020-06-27 00:00:16 -05004Subject: [PATCH 03/43] Disable the warning message for eh_frame_hdr
Brad Bishop26bdd442019-08-16 17:08:17 -04005
6Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Brad Bishop26bdd442019-08-16 17:08:17 -04007---
8 bfd/elf-eh-frame.c | 3 +++
9 1 file changed, 3 insertions(+)
10
11diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c
Andrew Geissler84ad7c52020-06-27 00:00:16 -050012index a13e81ebb8..1824ba6e5b 100644
Brad Bishop26bdd442019-08-16 17:08:17 -040013--- a/bfd/elf-eh-frame.c
14+++ b/bfd/elf-eh-frame.c
15@@ -1044,10 +1044,13 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info,
16 goto success;
17
18 free_no_table:
19+/* FIXME: Remove the microblaze specifics when relaxing gets fixed. */
20+if (bfd_get_arch(abfd) != bfd_arch_microblaze) {
21 _bfd_error_handler
22 /* xgettext:c-format */
23 (_("error in %pB(%pA); no .eh_frame_hdr table will be created"),
24 abfd, sec);
25+}
26 hdr_info->u.dwarf.table = FALSE;
27 if (sec_info)
28 free (sec_info);
Andrew Geissler84ad7c52020-06-27 00:00:16 -050029--
302.17.1
31