• 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/0002-sparc-add-missing-library.h-include.patch
Thomas PetazzoniThomas Petazzoni committed 88511ccf4a622 Dec 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
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
5
MIME-Version: 1.0
6
Content-Type: text/plain; charset=UTF-8
7
Content-Transfer-Encoding: 8bit
8
​
9
Fixes the following build failure on sparc:
10
​
11
plt.c: In function ‘sym2addr’:
12
plt.c:33:12: error: dereferencing pointer to incomplete type
13
  return sym->enter_addr;
14
            ^
15
plt.c:34:1: warning: control reaches end of non-void function [-Wreturn-type]
16
​
17
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18
---
19
 sysdeps/linux-gnu/sparc/plt.c | 1 +
20
 1 file changed, 1 insertion(+)
21
​
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
26
@@ -21,6 +21,7 @@
27
 #include <gelf.h>
28
 #include "proc.h"
29
 #include "common.h"
30
+#include "library.h"
31
 
32
 GElf_Addr
33
 arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) {
34
-- 
35
2.6.4
36
​
  • 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.