• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/ltrace/0001-arm-plt.patch
Vicente Olivert RieraVicente Olivert Riera committed 738159d8f6003 Jul 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
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
5
​
6
Unfortunately, uclicbc doesn't define SHT_ARM_ATTRIBUTES in elf.h
7
​
8
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9
---
10
 sysdeps/linux-gnu/arm/plt.c | 4 ++++
11
 1 file changed, 4 insertions(+)
12
​
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
17
@@ -28,6 +28,10 @@
18
 #include "library.h"
19
 #include "ltrace-elf.h"
20
 
21
+#ifndef SHT_ARM_ATTRIBUTES
22
+#define SHT_ARM_ATTRIBUTES     0x70000003
23
+#endif
24
+
25
 static int
26
 get_hardfp(uint64_t abi_vfp_args)
27
 {
28
-- 
29
1.9.1
30
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.