patches/gcc/4.4.4/220-libiberty-pic.patch
author Martin Lund <mgl@doredevelopment.dk>
Wed May 19 17:53:04 2010 +0200 (2010-05-19)
changeset 1965 e3d532dd8b5d
child 2148 ada9128c98b8
permissions -rw-r--r--
test-suite: Added new test suite feature (experimental)

This patch adds support for installing the gcc test suite. A helper
Makefile is provided for building and running the gcc tests.

The default configuration runs all gcc tests and requires automatic
ssh/scp login access to a networked target board. See README for
more details.

Note: Current feature is tested with the powerpc-unknown-linux-gnu
sample but it should work with others as well.

Signed-off-by: Martin Lund <mgl@doredevelopment.dk>
     1 diff -durN gcc-4.4.0.orig/libiberty/Makefile.in gcc-4.4.0/libiberty/Makefile.in
     2 
     3 diff -durN gcc-4.4.4.orig/libiberty/Makefile.in gcc-4.4.4/libiberty/Makefile.in
     4 --- gcc-4.4.4.orig/libiberty/Makefile.in	2008-10-22 15:30:19.000000000 +0200
     5 +++ gcc-4.4.4/libiberty/Makefile.in	2010-05-16 19:13:20.000000000 +0200
     6 @@ -227,6 +227,7 @@
     7  	  $(AR) $(AR_FLAGS) $(TARGETLIB) \
     8  	    $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
     9  	  $(RANLIB) $(TARGETLIB); \
    10 +	  cp $(TARGETLIB) ../ ; \
    11  	  cd ..; \
    12  	else true; fi
    13