2009-10-26 Andrew Pinski <pinskia@gcc.gnu.org>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Oct 2009 15:59:50 +0000 (15:59 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Oct 2009 15:59:50 +0000 (15:59 +0000)
        * gcc.dg/lto/20091014-1_0.c: Replace -shared with -r -nostlib.
        * gcc.dg/lto/20091016-1_0.c: Likewise.
        * gcc.dg/lto/20090206-1_0.c: Likewise.
        * gcc.dg/lto/20081120-1_0.c: Likewise.
        * gcc.dg/lto/20081120-2_0.c: Likewise.
        * gcc.dg/lto/20090116_0.c: Likewise.
        * gcc.dg/lto/20081126_0.c: Likewise.
        * gcc.dg/lto/20091013-1_0.c: Likewise.
        * gcc.dg/lto/20081212-1_0.c: Likewise.
        * gcc.dg/lto/20091015-1_0.c: Likewise.
        * gcc.dg/lto/20090126-1_0.c: Likewise.
        * gcc.dg/lto/20090126-2_0.c: Likewise.
        * gcc.dg/lto/20091020-1_0.c: Likewise.
        * gcc.dg/lto/20091020-2_0.c: Likewise.
        * gcc.dg/lto/20081204-1_0.c: Likewise.
        * gcc.dg/lto/20081204-2_0.c: Likewise.
        * gcc.dg/lto/20081224_0.c: Likewise.
        * gcc.dg/lto/20090219_0.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153555 138bc75d-0d04-0410-961f-82ee72b054a4

19 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/20081120-1_0.c
gcc/testsuite/gcc.dg/lto/20081120-2_0.c
gcc/testsuite/gcc.dg/lto/20081126_0.c
gcc/testsuite/gcc.dg/lto/20081204-1_0.c
gcc/testsuite/gcc.dg/lto/20081204-2_0.c
gcc/testsuite/gcc.dg/lto/20081212-1_0.c
gcc/testsuite/gcc.dg/lto/20081224_0.c
gcc/testsuite/gcc.dg/lto/20090116_0.c
gcc/testsuite/gcc.dg/lto/20090126-1_0.c
gcc/testsuite/gcc.dg/lto/20090126-2_0.c
gcc/testsuite/gcc.dg/lto/20090206-1_0.c
gcc/testsuite/gcc.dg/lto/20090219_0.c
gcc/testsuite/gcc.dg/lto/20091013-1_0.c
gcc/testsuite/gcc.dg/lto/20091014-1_0.c
gcc/testsuite/gcc.dg/lto/20091015-1_0.c
gcc/testsuite/gcc.dg/lto/20091016-1_0.c
gcc/testsuite/gcc.dg/lto/20091020-1_0.c
gcc/testsuite/gcc.dg/lto/20091020-2_0.c

index e6e9250..7f37077 100644 (file)
@@ -1,3 +1,24 @@
+2009-10-26  Andrew Pinski  <pinskia@gcc.gnu.org>
+
+       * gcc.dg/lto/20091014-1_0.c: Replace -shared with -r -nostlib.
+       * gcc.dg/lto/20091016-1_0.c: Likewise.
+       * gcc.dg/lto/20090206-1_0.c: Likewise.
+       * gcc.dg/lto/20081120-1_0.c: Likewise.
+       * gcc.dg/lto/20081120-2_0.c: Likewise.
+       * gcc.dg/lto/20090116_0.c: Likewise.
+       * gcc.dg/lto/20081126_0.c: Likewise.
+       * gcc.dg/lto/20091013-1_0.c: Likewise.
+       * gcc.dg/lto/20081212-1_0.c: Likewise.
+       * gcc.dg/lto/20091015-1_0.c: Likewise.
+       * gcc.dg/lto/20090126-1_0.c: Likewise.
+       * gcc.dg/lto/20090126-2_0.c: Likewise.
+       * gcc.dg/lto/20091020-1_0.c: Likewise.
+       * gcc.dg/lto/20091020-2_0.c: Likewise.
+       * gcc.dg/lto/20081204-1_0.c: Likewise.
+       * gcc.dg/lto/20081204-2_0.c: Likewise.
+       * gcc.dg/lto/20081224_0.c: Likewise.
+       * gcc.dg/lto/20090219_0.c: Likewise.
+
 2009-10-26  Dodji Seketeli  <dodji@redhat.com>
 
        PR c++/41020
index c351196..e842b37 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-flto -shared}} } */
+/* { dg-lto-options {{-flto -r -nostdlib}} } */
 extern int stat(void) __asm__("" "stat64");
 extern inline int stat(void) { }
 static void foo(void) { stat(); }
index ff8a9a4..19c4ab3 100644 (file)
@@ -1,3 +1,3 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-fwhopr -shared}} } */
+/* { dg-lto-options {{-fwhopr -r -nostdlib}} } */
 void bar(void) {}
index 9d0bb14..9243da9 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
-/* { dg-lto-options {{-flto -shared}} } */
+/* { dg-lto-options {{-flto -r -nostdlib}} } */
 
 int f(void) {
   register int ri asm("edi");
index 9259808..5952b07 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-fwhopr -fPIC -shared}} } */
+/* { dg-lto-options {{-fwhopr -fPIC -r -nostdlib}} } */
 
 /* Tests for the absence during linking of:
    lto1: error: type of 'i' does not match original declaration  */
index 241ac5d..5344605 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
 /* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
-/* { dg-lto-options {{-w -flto -fPIC -shared}} } */
+/* { dg-lto-options {{-w -flto -fPIC -r -nostdlib}} } */
 
 register int ri asm("edi");
index a19bff1..acc0018 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-shared}} } */
+/* { dg-lto-options {{-r -nostdlib}} } */
 int exported_var = 42;
 /* { dg-final { scan-symbol "exported_var" } } */
index c146115..9c784fe 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-fwhopr -shared -fPIC}} } */
+/* { dg-lto-options {{-fwhopr -r -nostdlib -fPIC}} } */
 #include "20081224_0.h"
 
 extern struct foo x;
index 4b88e4a..9fd83ca 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-O1 -fwhopr -fPIC}} } */
-/* { dg-extra-ld-options {-shared -O0} } */
+/* { dg-extra-ld-options {-r -nostdlib -O0} } */
 
 int foo(void) {
  int ret, i;
index 0ed8ea3..b2a25b2 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-O0 -fwhopr}} } */
-/* { dg-extra-ld-options {-shared -O2 -fwhopr} } */
+/* { dg-extra-ld-options {-r -nostdlib -O2 -fwhopr} } */
 
 int main(int argc, char **argv) {
   return 0;
index 64e6385..a366c18 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-lto-options {{-fPIC -O2 -fwhopr}} } */
-/* { dg-extra-ld-options {-fno-PIC -shared -O2 -fwhopr} } */
+/* { dg-extra-ld-options {-fno-PIC -r -nostdlib -O2 -fwhopr} } */
 
 int main(int argc, char **argv) {
   return 0;
index 42eaca9..13cd886 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-lto-do link } */
 /* { dg-skip-if "" { ! { i?86-*-linux* x86_64-*-linux* } } { "*" } { "" } } */
-/* { dg-lto-options {{-fPIC -shared -fwhopr -msse2}} } */
+/* { dg-lto-options {{-fPIC -r -nostdlib -fwhopr -msse2}} } */
 /* { dg-suppress-ld-options {-fPIC -msse2} } */
 
 typedef short v8hi __attribute__((__vector_size__(16)));
index 6229de7..b93dd1f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-O3 -fwhopr -fPIC -shared}} } */
+/* { dg-lto-options {{-O3 -fwhopr -fPIC -r -nostdlib}} } */
 
 struct Foo { int f1, f2, f3, f4, f5; };
 
index e1a7dc8..0fecce0 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-fPIC -shared -flto} {-fPIC -shared -O2 -flto}} } */
+/* { dg-lto-options {{-fPIC -r -nostdlib -flto} {-fPIC -r -nostdlib -O2 -flto}} } */
 
 void * HeapAlloc(void*,unsigned int,unsigned long);
 
index 241dddb..975214e 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-fPIC -shared -flto}} } */
+/* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
 
 /* Empty file.  See PR41173.  */
index f60e7d1..d55ebcf 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-fPIC -shared -O2 -flto} {-fPIC -shared -O2 -fwhopr}} } */
+/* { dg-lto-options {{-fPIC -r -nostdlib -O2 -flto} {-fPIC -r -nostdlib -O2 -fwhopr}} } */
 
 #include "20091015-1_b.h"
 void diagnostic_initialize (FILE **stream) { *stream = stderr; }
index 942c5c6..39a04b9 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-fPIC -shared -O2 -flto}} } */
+/* { dg-lto-options {{-fPIC -r -nostdlib -O2 -flto}} } */
 
 typedef struct VEC_constructor_elt_gc { } VEC_constructor_elt_gc;
 #include "20091016-1_a.h"
index ef61e98..c9bcb56 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-fPIC -shared -flto}} } */
+/* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
 
 typedef struct {
     int NumPackStreams;
index 7dcbb2d..fb1a82b 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-lto-do link } */
-/* { dg-lto-options {{-fPIC -shared -flto}} } */
+/* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
 
 typedef struct {
     int NumPackStreams;