summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/microblaze/backtrace.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index eac0fe4e41..32dee3fcb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-01-04 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #21022]
+ * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
+
2017-01-03 Joseph Myers <joseph@codesourcery.com>
* sysdeps/i386/fpu/libm-test-ulps: Update.
diff --git a/sysdeps/microblaze/backtrace.c b/sysdeps/microblaze/backtrace.c
index 2b498f01ce..7cc28ff146 100644
--- a/sysdeps/microblaze/backtrace.c
+++ b/sysdeps/microblaze/backtrace.c
@@ -27,7 +27,7 @@ _identify_sighandler (unsigned long fp, unsigned long pc,
unsigned long *pprev_fp, unsigned long *pprev_pc,
unsigned long *retaddr);
-inline long
+static inline long
get_frame_size (unsigned long instr)
{
return abs ((short signed) (instr & 0xFFFF));