Commit 0bcce674 by Ian Lance Taylor

libgo: redefine ia64 struct names around linux/ptrace.h

    
    Avoid https://sourceware.org/bugzilla/show_bug.cgi?id=762.
    
    Patch by Andreas Schwab.
    
    Reviewed-on: https://go-review.googlesource.com/46711

From-SVN: r249662
parent 4b377e01
0a20181d00d43a423c55f4e772b759fba0619478 1b4c2bcaa96f7f40538fd8fff308ad92ea6f482e
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -103,7 +103,12 @@ ...@@ -103,7 +103,12 @@
#include <linux/netlink.h> #include <linux/netlink.h>
#endif #endif
#if defined(HAVE_LINUX_PTRACE_H) #if defined(HAVE_LINUX_PTRACE_H)
/* Avoid https://sourceware.org/bugzilla/show_bug.cgi?id=762 . */
#define ia64_fpreg pt_ia64_fpreg
#define pt_all_user_regs pt_ia64_all_user_regs
#include <linux/ptrace.h> #include <linux/ptrace.h>
#undef ia64_fpreg
#undef pt_all_user_regs
#endif #endif
#if defined(HAVE_LINUX_RTNETLINK_H) #if defined(HAVE_LINUX_RTNETLINK_H)
#include <linux/rtnetlink.h> #include <linux/rtnetlink.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment