1 From 4e58f53b7886420d002e5919f279acd6d7c4afd1 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Tue, 22 Dec 2015 21:47:45 +0100
4 Subject: [PATCH] sparc: add missing library.h include
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Fixes the following build failure on sparc:
11 plt.c: In function ‘sym2addr’:
12 plt.c:33:12: error: dereferencing pointer to incomplete type
13 return sym->enter_addr;
15 plt.c:34:1: warning: control reaches end of non-void function [-Wreturn-type]
17 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 sysdeps/linux-gnu/sparc/plt.c | 1 +
20 1 file changed, 1 insertion(+)
22 diff --git a/sysdeps/linux-gnu/sparc/plt.c b/sysdeps/linux-gnu/sparc/plt.c
23 index 3d2e589..959eed1 100644
24 --- a/sysdeps/linux-gnu/sparc/plt.c
25 +++ b/sysdeps/linux-gnu/sparc/plt.c
33 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) {