mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-25 07:21:05 +00:00
d90a3c0ca5
This commit syncs the patches applied to ltrace with debian: https://sources.debian.net/src/ltrace/0.7.3-5/debian/patches/ Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
32 lines
677 B
Diff
32 lines
677 B
Diff
From: Juan Cespedes <cespedes@debian.org>
|
|
Description: fixes compilation on sparc
|
|
Last-Update: 2014-01-02
|
|
|
|
|
|
--- ltrace-0.7.3.orig/sysdeps/linux-gnu/sparc/plt.c
|
|
+++ ltrace-0.7.3/sysdeps/linux-gnu/sparc/plt.c
|
|
@@ -19,8 +19,9 @@
|
|
*/
|
|
|
|
#include <gelf.h>
|
|
+
|
|
#include "proc.h"
|
|
-#include "common.h"
|
|
+#include "library.h"
|
|
|
|
GElf_Addr
|
|
arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) {
|
|
--- ltrace-0.7.3.orig/sysdeps/linux-gnu/sparc/trace.c
|
|
+++ ltrace-0.7.3/sysdeps/linux-gnu/sparc/trace.c
|
|
@@ -26,8 +26,10 @@
|
|
#include <sys/wait.h>
|
|
#include <signal.h>
|
|
#include <string.h>
|
|
+
|
|
#include "ptrace.h"
|
|
#include "proc.h"
|
|
+#include "backend.h"
|
|
#include "common.h"
|
|
|
|
void
|