1 From 04377d28135e351c8d096c4392a493e937416815 Mon Sep 17 00:00:00 2001
2 From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
3 Date: Thu, 24 Jul 2014 23:15:20 +0200
4 Subject: [PATCH] Allow building with uclibc toolchains
6 Unfortunately, uclicbc doesn't define SHT_ARM_ATTRIBUTES in elf.h
8 Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
10 sysdeps/linux-gnu/arm/plt.c | 4 ++++
11 1 file changed, 4 insertions(+)
13 diff --git a/sysdeps/linux-gnu/arm/plt.c b/sysdeps/linux-gnu/arm/plt.c
14 index 9e9e37f0c5b0..a0a5795eb9cb 100644
15 --- a/sysdeps/linux-gnu/arm/plt.c
16 +++ b/sysdeps/linux-gnu/arm/plt.c
19 #include "ltrace-elf.h"
21 +#ifndef SHT_ARM_ATTRIBUTES
22 +#define SHT_ARM_ATTRIBUTES 0x70000003
26 get_hardfp(uint64_t abi_vfp_args)