diff options
author | Anthony Foiani <anthony.foiani@gmail.com> | 2010-09-29 08:31:17 -0600 |
---|---|---|
committer | Anthony Foiani <anthony.foiani@gmail.com> | 2010-09-29 08:31:17 -0600 |
commit | 9ded1b02bbf80961be28110e09e9b41073a5a4b7 (patch) | |
tree | c447348f64f27976c705e943125c96493115210a /patches | |
parent | b5246455170a0883704ee1591762f6cc8daba2ba (diff) | |
download | crosstool-ng-9ded1b02bbf80961be28110e09e9b41073a5a4b7.tar.gz crosstool-ng-9ded1b02bbf80961be28110e09e9b41073a5a4b7.tar.bz2 crosstool-ng-9ded1b02bbf80961be28110e09e9b41073a5a4b7.zip |
Make sure that the PTRACE_... symbols are available for ppc/plt.c.
On a Fedora 12 x86_64 build/host box, this file was complaining about
PTRACE_PEEKTEXT being undefined. Adding in the "ptrace.h" include
fixed it.
Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/ltrace/0.5.3/160-fix-missing-ptrace-defines.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/patches/ltrace/0.5.3/160-fix-missing-ptrace-defines.patch b/patches/ltrace/0.5.3/160-fix-missing-ptrace-defines.patch index 48af146c..b57a1665 100644 --- a/patches/ltrace/0.5.3/160-fix-missing-ptrace-defines.patch +++ b/patches/ltrace/0.5.3/160-fix-missing-ptrace-defines.patch @@ -70,3 +70,12 @@ diff -ruN ltrace-0.5.3.orig/sysdeps/linux-gnu/trace.h ltrace-0.5.3/sysdeps/linux + +#endif /* PTRACE_EVENT_FORK */ +#endif /* __SYSDEPS_TRACE_H__ */ +--- ltrace-0.5.3.orig/sysdeps/linux-gnu/ppc/plt.c 2009-07-25 09:13:02.000000000 -0600 ++++ ltrace-0.5.3/sysdeps/linux-gnu/ppc/plt.c 2010-09-28 18:30:07.091618190 -0600 +@@ -1,5 +1,6 @@ + #include <gelf.h> + #include "common.h" ++#include "ptrace.h" + + GElf_Addr + arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) { |