patches/uClibc/0.9.30.2/180-Unbreak-build-for-sparc-on-some-config-s.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 05 00:01:05 2013 +0200 (2013-05-05)
changeset 3218 3709e61ad85b
permissions -rw-r--r--
complibs/cloog: add support for the ISL backend

CLooG 0.18+ will use ISL instead of PPL, so we have to configure
adequately depending of which backend is in use.

The Kconfig entries will decide for us which is selected, so we
can rely on either PPL xor ISL to be selected, not both.

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add ISL support,
which this patch is inspired from]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 From 7b964170536951a260f7d552db99b428d1ea5026 Mon Sep 17 00:00:00 2001
     2 From: Austin Foxley <austinf@cetoncorp.com>
     3 Date: Wed, 3 Feb 2010 12:12:10 -0800
     4 Subject: [PATCH 08/15] Unbreak build for sparc on some config's
     5 
     6 Thanks to rob@landley.net
     7 
     8 Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
     9 ---
    10  libc/sysdeps/linux/sparc/sigaction.c |    9 ++++-----
    11  1 files changed, 4 insertions(+), 5 deletions(-)
    12 
    13 diff --git a/libc/sysdeps/linux/sparc/sigaction.c b/libc/sysdeps/linux/sparc/sigaction.c
    14 index a22ac40..7140fd3 100644
    15 --- a/libc/sysdeps/linux/sparc/sigaction.c
    16 +++ b/libc/sysdeps/linux/sparc/sigaction.c
    17 @@ -34,7 +34,8 @@ _syscall5(int, rt_sigaction, int, a, int, b, int, c, int, d, int, e);
    18  static void __rt_sigreturn_stub(void);
    19  static void __sigreturn_stub(void);
    20  
    21 -int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
    22 +libc_hidden_proto(sigaction)
    23 +int sigaction(int sig, const struct sigaction *act, struct sigaction *oact)
    24  {
    25  	int ret;
    26  	struct sigaction kact, koact;
    27 @@ -65,10 +66,8 @@ int __libc_sigaction(int sig, const struct sigaction *act, struct sigaction *oac
    28  	return ret;
    29  }
    30  
    31 -#ifndef LIBC_SIGACTION
    32 -weak_alias(__libc_sigaction,sigaction)
    33 -libc_hidden_weak(sigaction)
    34 -#endif
    35 +libc_hidden_def(sigaction)
    36 +weak_alias(sigaction,__libc_sigaction)
    37  
    38  static void
    39  __rt_sigreturn_stub(void)
    40 -- 
    41 1.6.6.1
    42