This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[obv] Fix build on i686
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 19 Jul 2013 21:44:49 +0200
- Subject: [obv] Fix build on i686
Hi,
this is a regression by me. It fails the build on i686 but not on x86_64.
It was filed by Andrey Ponomarenko:
https://bugzilla.redhat.com/show_bug.cgi?id=985438
Checked in.
Jan
commit 8af254a19665c3baf6074a36ba2618413b80d169
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Jul 19 21:41:31 2013 +0200
__libdwfl_find_elf_build_id: Add missing internal_function keyword.
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog
index 68406c9..af665f4 100644
--- a/libdwfl/ChangeLog
+++ b/libdwfl/ChangeLog
@@ -1,3 +1,7 @@
+2013-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * libdwflP.h (__libdwfl_find_elf_build_id): Add internal_function.
+
2013-07-02 Mark Wielaard <mjw@redhat.com>
* relocate.c (__libdwfl_relocate_value): Remove mod->e_type assert.
diff --git a/libdwfl/libdwflP.h b/libdwfl/libdwflP.h
index 69e6e12..1ca4763 100644
--- a/libdwfl/libdwflP.h
+++ b/libdwfl/libdwflP.h
@@ -370,7 +370,8 @@ extern Dwfl_Error __libdwfl_cu_getsrclines (struct dwfl_cu *cu)
extern int __libdwfl_find_elf_build_id (Dwfl_Module *mod, Elf *elf,
const void **build_id_bits,
GElf_Addr *build_id_elfaddr,
- int *build_id_len);
+ int *build_id_len)
+ internal_function;
/* Look in ELF for an NT_GNU_BUILD_ID note. If SET is true, store it
in MOD and return its length. If SET is false, instead compare it