patches/dmalloc/5.5.2/100-use-xtools.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 27 21:37:03 2009 +0000 (2009-01-27)
changeset 1162 31348b787bed
permissions -rw-r--r--
Add the latest gcc-4.3.3 with the forward-ported patchset from gcc-4.3.2.

/trunk/patches/gcc/4.3.3/210-noteGNUstack-00.patch | 47 26 21 0 ++++---
/trunk/patches/gcc/4.3.3/270-missing-execinfo_h.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/260-uclibc-conf-noupstream.patch | 13 9 4 0 +-
/trunk/patches/gcc/4.3.3/220-noteGNUstack-01.patch | 97 51 46 0 +++++++-------
/trunk/patches/gcc/4.3.3/240-pr25343.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/100-alpha-mieee-default.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/230-pr34571.patch | 23 8 15 0 +--
/trunk/patches/gcc/4.3.3/350-sh-without-headers.patch | 17 10 7 0 +-
/trunk/patches/gcc/4.3.3/330-unwind-for-uClibc.patch | 19 12 7 0 ++-
/trunk/patches/gcc/4.3.3/190-libstdc++-pic.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/150-sparc64-bsd.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/290-index_macro.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/140-netbsd-symbolic.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/110-trampolinewarn.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/160-flatten-switch-stmt-00.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/280-c99-complex-ugly-hack.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/300-libmudflap-susv3-legacy.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/170-libiberty-pic.patch | 11 8 3 0 +-
/trunk/patches/gcc/4.3.3/250-sh-pr24836.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/120-java-nomulti.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/320-alpha-signal_h.patch | 14 10 4 0 +-
/trunk/patches/gcc/4.3.3/180-superh-default-multilib.patch | 13 9 4 0 +-
/trunk/patches/gcc/4.3.3/340-make-mno-spe-work-as-expected.patch | 41 23 18 0 +++---
/trunk/patches/gcc/4.3.3/200-pr24170.patch | 23 14 9 0 ++-
/trunk/patches/gcc/4.3.3/310-arm-softfloat.patch | 17 11 6 0 +-
/trunk/patches/gcc/4.3.3/130-cross-compile.patch | 23 14 9 0 ++-
/trunk/config/cc/gcc.in | 7 7 0 0 +
27 files changed, 334 insertions(+), 210 deletions(-)
     1 This patch makes configure use the cross ld and ar rather than the native tools.
     2 
     3 It was build up by Yann E. MORIN <yann.morin.1998@anciens.enib.fr> from some
     4 bits gathered from buildroot, which is LGPL v2.1
     5 License for dmalloc is:
     6  * Permission to use, copy, modify, and distribute this software for
     7  * any purpose and without fee is hereby granted, provided that the
     8  * above copyright notice and this permission notice appear in all
     9  * copies, and that the name of Gray Watson not be used in advertising
    10  * or publicity pertaining to distribution of the document or software
    11  * without specific, written prior permission.
    12  *
    13  * Gray Watson makes no representations about the suitability of the
    14  * software described herein for any purpose.  It is provided "as is"
    15  * without express or implied warranty.
    16 
    17 I personnaly believe that the resulting code should therefore be
    18 LGPL v2.1, but don't believe me, ask your lawyers!
    19 
    20 diff -dur dmalloc-5.5.2.orig/configure dmalloc-5.5.2/configure
    21 --- dmalloc-5.5.2.orig/configure	2007-05-14 19:26:14.000000000 +0200
    22 +++ dmalloc-5.5.2/configure	2007-05-18 11:38:25.000000000 +0200
    23 @@ -4418,14 +4418,14 @@
    24    (exit $ac_status); }; }; then
    25  
    26  	# so now we try to create an archive from the compiled .o file
    27 -	(ar cr conftest.a conftest.o) 2>&5
    28 +	(${AR} cr conftest.a conftest.o) 2>&5
    29  	# see which shared-library ld commands work
    30  	#
    31  	# Darwin/Mac OS X - Terry Teague
    32  	# username terry_teague at domain users.sourceforge.net
    33  	ac_cv_shared_lib_link_objs=no
    34  	if test `uname` = "Darwin"; then
    35 -          if (ld -dylib -o conftest.so.t -lc conftest.a) 2>&5; then
    36 +          if (${LD} -dylib -o conftest.so.t -lc conftest.a) 2>&5; then
    37              # By convention on some platforms
    38              # libLLL.so, libLLL.X.so are symlinks to libLLL.X.Y.Z.so
    39              # where X.Y.Z is version # (major.minor.increment) of the library
    40 @@ -4443,12 +4443,12 @@
    41              ac_cv_shared_link_args='# Could not configure shlib linking'
    42              enable_shlib=no
    43            fi
    44 -       elif (ld -shared --whole-archive -soname conftest.so -o conftest.so.t conftest.a) 2>&5; then
    45 -		ac_cv_shared_link_args='ld -shared --whole-archive -soname $@ -o $@.t'
    46 -	elif (ld -shared -o conftest.so.t -all -soname conftest.so.t -none -lc -all conftest.a) 2>&5; then
    47 -		ac_cv_shared_link_args='ld -shared -o $@.t -all -soname $@ -none -lc -all'
    48 -	elif (ld -G -o conftest.so.t conftest.a) 2>&5; then
    49 -		ac_cv_shared_link_args='ld -G -o $@.t'
    50 +       elif (${LD} -shared --whole-archive -soname conftest.so -o conftest.so.t conftest.a) 2>&5; then
    51 +		ac_cv_shared_link_args="${LD}"' -shared --whole-archive -soname $@ -o $@.t'
    52 +	elif (${LD} -shared -o conftest.so.t -all -soname conftest.so.t -none -lc -all conftest.a) 2>&5; then
    53 +		ac_cv_shared_link_args="${LD}"' -shared -o $@.t -all -soname $@ -none -lc -all'
    54 +	elif (${LD} -G -o conftest.so.t conftest.a) 2>&5; then
    55 +		ac_cv_shared_link_args="${LD}"' -G -o $@.t'
    56  	else
    57  		# oh well, toss an error
    58  		ac_cv_shared_link_args='# Could not configure shlib linking'