From 4c94d6ae7b697007f22f85d8cf6d65d5139d8d88 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 19 Apr 2008 19:15:36 +0000 Subject: [PATCH] * testsuite/Makefile.am (many_sections_check.h): Only check one in every thousand variables. * testsuite/Makefile.in: Rebuild. --- gold/ChangeLog | 4 ++++ gold/testsuite/Makefile.am | 2 +- gold/testsuite/Makefile.in | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 877d82826da..050a42a5543 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,9 @@ 2008-04-19 Ian Lance Taylor + * testsuite/Makefile.am (many_sections_check.h): Only check one in + every thousand variables. + * testsuite/Makefile.in: Rebuild. + * object.cc (Xindex::initialize_symtab_xindex): New function. (Xindex::read_symtab_xindex): New function. (Xindex::sym_xindex_to_shndx): New function. diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index c538aca0239..b46705c8b58 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -564,7 +564,7 @@ many_sections_define.h: BUILT_SOURCES += many_sections_check.h many_sections_check.h: - (for i in `seq 1 70000`; do \ + (for i in `seq 1 1000 70000`; do \ echo "assert(var_$$i == $$i);"; \ done) > $@.tmp mv -f $@.tmp $@ diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in index c47de28edc1..50edefcad7a 100644 --- a/gold/testsuite/Makefile.in +++ b/gold/testsuite/Makefile.in @@ -2014,7 +2014,7 @@ uninstall-am: uninstall-info-am @GCC_TRUE@@NATIVE_LINKER_TRUE@ done) > $@.tmp @GCC_TRUE@@NATIVE_LINKER_TRUE@ mv -f $@.tmp $@ @GCC_TRUE@@NATIVE_LINKER_TRUE@many_sections_check.h: -@GCC_TRUE@@NATIVE_LINKER_TRUE@ (for i in `seq 1 70000`; do \ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ (for i in `seq 1 1000 70000`; do \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "assert(var_$$i == $$i);"; \ @GCC_TRUE@@NATIVE_LINKER_TRUE@ done) > $@.tmp @GCC_TRUE@@NATIVE_LINKER_TRUE@ mv -f $@.tmp $@ -- 2.30.2