diff options
Diffstat (limited to 'recipes-devtools/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch')
-rw-r--r-- | recipes-devtools/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-devtools/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch b/recipes-devtools/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch new file mode 100644 index 00000000..f6616a1b --- /dev/null +++ b/recipes-devtools/binutils/files/Disable-the-warning-message-for-eh_frame_hdr.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> | ||
2 | Date: Fri, 22 Jun 2012 01:20:20 +0200 | ||
3 | Subject: Disable the warning message for eh_frame_hdr | ||
4 | |||
5 | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> | ||
6 | Upstream-Status: Pending | ||
7 | --- | ||
8 | bfd/elf-eh-frame.c | 9 ++++++--- | ||
9 | 1 file changed, 6 insertions(+), 3 deletions(-) | ||
10 | |||
11 | diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c | ||
12 | index 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 | -- | ||
32 | 1.7.9.5 | ||
33 | |||