ld: Suppress warning for unsupported attribute from older GCC
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / linux-x86.exp
index 7a311ae431f1febd346eb69ef6bf1c046bd33181..8d7546a88815a3a3fefb31ac8d9973a433493768 100644 (file)
@@ -124,6 +124,9 @@ proc check_pr25749a {testname srcfilea srcfileb cflags ldflags lderror} {
        }
     }
 
+    # Suppress warning for unsupported attribute from older GCC.
+    append cflags " -w"
+
     exec cp $srcdir/$subdir/$srcfilea $srcfilea
     exec chmod +w $srcfilea
     set pr25749_bin "$objcopy -B $output_arch -I binary -O $output_target $srcfilea tmpdir/pr25749-bin.o"
This page took 0.023029 seconds and 4 git commands to generate.