Re: [ptxdist] [PATCH] Update kexec-tools to 2.0.3

2012-02-14 Thread Michael Olbrich
On Sat, Feb 11, 2012 at 03:21:56PM +0100, Bernhard Walle wrote:
> The patches are obsolete as they are mainline. Verified on a NSLU2
> (xscale-arm) little endian board/configuration.

Applied. It's always nice to remove some patches :-)

Michael

> Signed-off-by: Bernhard Walle 
> ---
>  .../0001-revert-toolchain-problem.patch|  313 
> 
>  ...uild-Pass-no-undefined-as-a-linker-option.patch |   29 --
>  patches/kexec-tools-2.0.2/series   |2 -
>  rules/kexec-tools.make |6 +-
>  4 files changed, 3 insertions(+), 347 deletions(-)
>  delete mode 100644 
> patches/kexec-tools-2.0.2/0001-revert-toolchain-problem.patch
>  delete mode 100644 
> patches/kexec-tools-2.0.2/0002-build-Pass-no-undefined-as-a-linker-option.patch
>  delete mode 100644 patches/kexec-tools-2.0.2/series
> 
> diff --git a/patches/kexec-tools-2.0.2/0001-revert-toolchain-problem.patch 
> b/patches/kexec-tools-2.0.2/0001-revert-toolchain-problem.patch
> deleted file mode 100644
> index fa0702c..000
> --- a/patches/kexec-tools-2.0.2/0001-revert-toolchain-problem.patch
> +++ /dev/null
> @@ -1,313 +0,0 @@
> -commit dbe1163152ef6fca2a1bd22e11e219f58fd40c08
> -Author: Maxim Uvarov 
> -Date:   Mon Sep 6 19:03:22 2010 +0400
> -
> -Revert "powerpc new toolchains fix (crt.S)"
> -
> -This reverts commit 45e8f29639d9f97b74389e5bd28c7a5cccbf3e2a.
> -purgatory/arch/ppc/crt.S and purgatory/arch/ppc/misc.S are the same
> -files.
> -Signed-off-by: Maxim Uvarov 
> -Signed-off-by: Simon Horman 
> -
> -diff --git a/configure.ac b/configure.ac
> -index 7f6acc6..2960c25 100644
>  a/configure.ac
> -+++ b/configure.ac
> -@@ -159,15 +159,6 @@ if test "$with_xen" = yes ; then
> - AC_MSG_NOTICE([Xen support disabled])))
> - fi
> - 
> --dnl new toolchains
> --if test "$ARCH" = ppc; then
> --AC_ARG_WITH([oldtoolchain],
> --AC_HELP_STRING([--with-oldtoolchain],[compile without crt.S
> --required for new toolchains]),
> --AC_DEFINE(PPC_OLDTOOLCHAIN, 1,
> --[Define to compile with old toolchains]))
> --fi
> --
> - dnl ---Sanity checks
> - if test "$CC"  = "no"; then AC_MSG_ERROR([cc not found]); fi
> - if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]); fi
> -diff --git a/purgatory/arch/ppc/Makefile b/purgatory/arch/ppc/Makefile
> -index 4020778..72289a0 100644
>  a/purgatory/arch/ppc/Makefile
> -+++ b/purgatory/arch/ppc/Makefile
> -@@ -6,7 +6,6 @@ ppc_PURGATORY_SRCS += purgatory/arch/ppc/v2wrap_32.S
> - ppc_PURGATORY_SRCS += purgatory/arch/ppc/misc.S
> - ppc_PURGATORY_SRCS += purgatory/arch/ppc/purgatory-ppc.c
> - ppc_PURGATORY_SRCS += purgatory/arch/ppc/console-ppc.c
> --ppc_PURGATORY_SRCS += purgatory/arch/ppc/crt.S
> - 
> - dist += purgatory/arch/ppc/Makefile $(ppc_PURGATORY_SRCS)   \
> - purgatory/arch/ppc/purgatory-ppc.h purgatory/arch/ppc/ppc_asm.h
> -diff --git a/purgatory/arch/ppc/crt.S b/purgatory/arch/ppc/crt.S
> -deleted file mode 100644
> -index 70f4d61..000
>  a/purgatory/arch/ppc/crt.S
> -+++ /dev/null
> -@@ -1,263 +0,0 @@
> --/* This is from linux-2.6/arch/powerpc/lib/crtsavres.S:
> -- *
> -- * Special support for eabi and SVR4
> -- *
> -- *   Copyright (C) 1995, 1996, 1998, 2000, 2001 Free Software Foundation, 
> Inc.
> -- *   Copyright 2008 Freescale Semiconductor, Inc.
> -- *   Written By Michael Meissner
> -- *
> -- * Based on gcc/config/rs6000/crtsavres.asm from gcc
> -- *
> -- * This file is free software; you can redistribute it and/or modify it
> -- * under the terms of the GNU General Public License as published by the
> -- * Free Software Foundation; either version 2, or (at your option) any
> -- * later version.
> -- *
> -- * In addition to the permissions in the GNU General Public License, the
> -- * Free Software Foundation gives you unlimited permission to link the
> -- * compiled version of this file with other programs, and to distribute
> -- * those programs without any restriction coming from the use of this
> -- * file.  (The General Public License restrictions do apply in other
> -- * respects; for example, they cover modification of the file, and
> -- * distribution when not linked into another program.)
> -- *
> -- * This file is distributed in the hope that it will be useful, but
> -- * WITHOUT ANY WARRANTY; without even the implied warranty of
> -- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> -- * General Public License for more details.
> -- *
> -- * You should have received a copy of the GNU General Public License
> -- * along with this program; see the file COPYING.  If not, write to
> -- * the Free Software Foundation, 51 Franklin Street, Fifth Floor,
> -- * Boston, MA 02110-1301, USA.
> -- *
> -- *As a special exception, if you link this library with files
> -- *compiled with GCC to produce an executable, this does not cause
> -- *the resulting executable to be cov

[ptxdist] [PATCH] Update kexec-tools to 2.0.3

2012-02-11 Thread Bernhard Walle
The patches are obsolete as they are mainline. Verified on a NSLU2
(xscale-arm) little endian board/configuration.

Signed-off-by: Bernhard Walle 
---
 .../0001-revert-toolchain-problem.patch|  313 
 ...uild-Pass-no-undefined-as-a-linker-option.patch |   29 --
 patches/kexec-tools-2.0.2/series   |2 -
 rules/kexec-tools.make |6 +-
 4 files changed, 3 insertions(+), 347 deletions(-)
 delete mode 100644 
patches/kexec-tools-2.0.2/0001-revert-toolchain-problem.patch
 delete mode 100644 
patches/kexec-tools-2.0.2/0002-build-Pass-no-undefined-as-a-linker-option.patch
 delete mode 100644 patches/kexec-tools-2.0.2/series

diff --git a/patches/kexec-tools-2.0.2/0001-revert-toolchain-problem.patch 
b/patches/kexec-tools-2.0.2/0001-revert-toolchain-problem.patch
deleted file mode 100644
index fa0702c..000
--- a/patches/kexec-tools-2.0.2/0001-revert-toolchain-problem.patch
+++ /dev/null
@@ -1,313 +0,0 @@
-commit dbe1163152ef6fca2a1bd22e11e219f58fd40c08
-Author: Maxim Uvarov 
-Date:   Mon Sep 6 19:03:22 2010 +0400
-
-Revert "powerpc new toolchains fix (crt.S)"
-
-This reverts commit 45e8f29639d9f97b74389e5bd28c7a5cccbf3e2a.
-purgatory/arch/ppc/crt.S and purgatory/arch/ppc/misc.S are the same
-files.
-Signed-off-by: Maxim Uvarov 
-Signed-off-by: Simon Horman 
-
-diff --git a/configure.ac b/configure.ac
-index 7f6acc6..2960c25 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -159,15 +159,6 @@ if test "$with_xen" = yes ; then
-   AC_MSG_NOTICE([Xen support disabled])))
- fi
- 
--dnl new toolchains
--if test "$ARCH" = ppc; then
--AC_ARG_WITH([oldtoolchain],
--  AC_HELP_STRING([--with-oldtoolchain],[compile without crt.S
--  required for new toolchains]),
--  AC_DEFINE(PPC_OLDTOOLCHAIN, 1,
--  [Define to compile with old toolchains]))
--fi
--
- dnl ---Sanity checks
- if test "$CC"  = "no"; then AC_MSG_ERROR([cc not found]); fi
- if test "$CPP" = "no"; then AC_MSG_ERROR([cpp not found]); fi
-diff --git a/purgatory/arch/ppc/Makefile b/purgatory/arch/ppc/Makefile
-index 4020778..72289a0 100644
 a/purgatory/arch/ppc/Makefile
-+++ b/purgatory/arch/ppc/Makefile
-@@ -6,7 +6,6 @@ ppc_PURGATORY_SRCS += purgatory/arch/ppc/v2wrap_32.S
- ppc_PURGATORY_SRCS += purgatory/arch/ppc/misc.S
- ppc_PURGATORY_SRCS += purgatory/arch/ppc/purgatory-ppc.c
- ppc_PURGATORY_SRCS += purgatory/arch/ppc/console-ppc.c
--ppc_PURGATORY_SRCS += purgatory/arch/ppc/crt.S
- 
- dist += purgatory/arch/ppc/Makefile $(ppc_PURGATORY_SRCS) \
-   purgatory/arch/ppc/purgatory-ppc.h purgatory/arch/ppc/ppc_asm.h
-diff --git a/purgatory/arch/ppc/crt.S b/purgatory/arch/ppc/crt.S
-deleted file mode 100644
-index 70f4d61..000
 a/purgatory/arch/ppc/crt.S
-+++ /dev/null
-@@ -1,263 +0,0 @@
--/* This is from linux-2.6/arch/powerpc/lib/crtsavres.S:
-- *
-- * Special support for eabi and SVR4
-- *
-- *   Copyright (C) 1995, 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
-- *   Copyright 2008 Freescale Semiconductor, Inc.
-- *   Written By Michael Meissner
-- *
-- * Based on gcc/config/rs6000/crtsavres.asm from gcc
-- *
-- * This file is free software; you can redistribute it and/or modify it
-- * under the terms of the GNU General Public License as published by the
-- * Free Software Foundation; either version 2, or (at your option) any
-- * later version.
-- *
-- * In addition to the permissions in the GNU General Public License, the
-- * Free Software Foundation gives you unlimited permission to link the
-- * compiled version of this file with other programs, and to distribute
-- * those programs without any restriction coming from the use of this
-- * file.  (The General Public License restrictions do apply in other
-- * respects; for example, they cover modification of the file, and
-- * distribution when not linked into another program.)
-- *
-- * This file is distributed in the hope that it will be useful, but
-- * WITHOUT ANY WARRANTY; without even the implied warranty of
-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-- * General Public License for more details.
-- *
-- * You should have received a copy of the GNU General Public License
-- * along with this program; see the file COPYING.  If not, write to
-- * the Free Software Foundation, 51 Franklin Street, Fifth Floor,
-- * Boston, MA 02110-1301, USA.
-- *
-- *As a special exception, if you link this library with files
-- *compiled with GCC to produce an executable, this does not cause
-- *the resulting executable to be covered by the GNU General Public 
License.
-- *This exception does not however invalidate any other reasons why
-- *the executable file might be covered by the GNU General Public License.
-- */
--#include "config.h"
--
--/* On PowerPC64 Linux, these functions are provided by the linker.  */
--#ifndef PPC_OLDTOOLCHAIN
--#ifndef