aboutsummaryrefslogtreecommitdiff
path: root/libdw
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2018-05-19 18:35:51 +0200
committerMark Wielaard <mark@klomp.org>2018-05-19 18:36:38 +0200
commit38ab84547a045386cc056422d37a7a7582c8afb9 (patch)
tree8e6bc0d5c7c037f1fd868c8dcff0dd0420f92802 /libdw
parent383eef45f6951482bdb929782422fd8550c9e6e6 (diff)
downloadelfutils-38ab84547a045386cc056422d37a7a7582c8afb9.tar.gz
Mark __libdw_find_split_unit mark as internal_function.
The prototype and definition should match. On i386 this is important because it changes the calling convention. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libdw')
-rw-r--r--libdw/ChangeLog4
-rw-r--r--libdw/libdwP.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index a87a7092..fffe0cc9 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-19 Mark Wielaard <mark@klomp.org>
+
+ * libdwP.h (__libdw_find_split_unit): Mark as internal_function.
+
2018-05-15 Mark Wielaard <mark@klomp.org>
* Makefile.am (libdw_a_SOURCES): Add libdw_find_split_unit.c.
diff --git a/libdw/libdwP.h b/libdw/libdwP.h
index 60572276..db14b689 100644
--- a/libdw/libdwP.h
+++ b/libdw/libdwP.h
@@ -596,7 +596,8 @@ extern struct Dwarf_CU *__libdw_findcu_addr (Dwarf *dbg, void *addr)
__nonnull_attribute__ (1) internal_function;
/* Find the split (or skeleton) unit. */
-extern struct Dwarf_CU *__libdw_find_split_unit (Dwarf_CU *cu);
+extern struct Dwarf_CU *__libdw_find_split_unit (Dwarf_CU *cu)
+ internal_function;
/* Get abbreviation with given code. */
extern Dwarf_Abbrev *__libdw_findabbrev (struct Dwarf_CU *cu,