From ab32901117447a996a22386416ba8b71ee56c07b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 15 Jun 2008 19:17:14 +0000 Subject: [PATCH] kernel-headers: 2.6.25.6: export linux/a.out.h (E.G. for valgrind) --- .../linux-2.6.25.6-export-linux-aout.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 toolchain/kernel-headers/linux-2.6.25.6-export-linux-aout.patch diff --git a/toolchain/kernel-headers/linux-2.6.25.6-export-linux-aout.patch b/toolchain/kernel-headers/linux-2.6.25.6-export-linux-aout.patch new file mode 100644 index 000000000..972fa76b0 --- /dev/null +++ b/toolchain/kernel-headers/linux-2.6.25.6-export-linux-aout.patch @@ -0,0 +1,24 @@ +[PATCH] export linux/a.out.h + +Export linux/a.out.h like we do for asm/a.out.h. One minor complication is +that the interesting stuff is protected by an CONFIG_ARCH_SUPPORTS_AOUT ifdef, +so make sure this gets defined for unifdef. + +Signed-off-by: Peter Korsgaard +--- + include/linux/Kbuild | 2 ++ + 1 file changed, 2 insertions(+) + +Index: linux-2.6.25.6/include/linux/Kbuild +=================================================================== +--- linux-2.6.25.6.orig/include/linux/Kbuild ++++ linux-2.6.25.6/include/linux/Kbuild +@@ -159,6 +159,8 @@ + header-y += videotext.h + header-y += x25.h + ++UNIFDEF += -DCONFIG_ARCH_SUPPORTS_AOUT ++unifdef-y += a.out.h + unifdef-y += acct.h + unifdef-y += adb.h + unifdef-y += adfs_fs.h