diff --git a/SOURCES/binutils-gold-compressed-debug-build-id.patch b/SOURCES/binutils-gold-compressed-debug-build-id.patch new file mode 100644 index 0000000..26af614 --- /dev/null +++ b/SOURCES/binutils-gold-compressed-debug-build-id.patch @@ -0,0 +1,465 @@ +diff -rup binutils.orig/gold/gold.cc binutils-2.25.1/gold/gold.cc +--- binutils.orig/gold/gold.cc 2017-10-18 12:37:20.539605249 +0100 ++++ binutils-2.25.1/gold/gold.cc 2017-10-18 12:37:41.293359925 +0100 +@@ -877,14 +877,27 @@ queue_final_tasks(const General_options& + } + + // Create tasks for tree-style build ID computation, if necessary. +- final_blocker = layout->queue_build_id_tasks(workqueue, final_blocker, of); ++ if (strcmp(options.build_id(), "tree") == 0) ++ { ++ // Queue a task to compute the build id. This will be blocked by ++ // FINAL_BLOCKER, and will in turn schedule the task to close ++ // the output file. ++ workqueue->queue(new Task_function(new Build_id_task_runner(&options, ++ layout, ++ of), ++ final_blocker, ++ "Task_function Build_id_task_runner")); ++ } ++ else ++ { ++ // Queue a task to close the output file. This will be blocked by ++ // FINAL_BLOCKER. ++ workqueue->queue(new Task_function(new Close_task_runner(&options, layout, ++ of, NULL, 0), ++ final_blocker, ++ "Task_function Close_task_runner")); ++ } + +- // Queue a task to close the output file. This will be blocked by +- // FINAL_BLOCKER. +- workqueue->queue(new Task_function(new Close_task_runner(&options, layout, +- of), +- final_blocker, +- "Task_function Close_task_runner")); + } + + } // End namespace gold. +diff -rup binutils.orig/gold/layout.cc binutils-2.25.1/gold/layout.cc +--- binutils.orig/gold/layout.cc 2017-10-18 12:37:20.539605249 +0100 ++++ binutils-2.25.1/gold/layout.cc 2017-10-18 12:37:41.294359913 +0100 +@@ -236,27 +236,31 @@ Free_list::print_stats() + } + + // A Hash_task computes the MD5 checksum of an array of char. +-// It has a blocker on either side (i.e., the task cannot run until +-// the first is unblocked, and it unblocks the second after running). + + class Hash_task : public Task + { + public: +- Hash_task(const unsigned char* src, ++ Hash_task(Output_file* of, ++ size_t offset, + size_t size, + unsigned char* dst, +- Task_token* build_id_blocker, + Task_token* final_blocker) +- : src_(src), size_(size), dst_(dst), build_id_blocker_(build_id_blocker), ++ : of_(of), offset_(offset), size_(size), dst_(dst), + final_blocker_(final_blocker) + { } + + void + run(Workqueue*) +- { md5_buffer(reinterpret_cast(src_), size_, dst_); } ++ { ++ const unsigned char* iv = ++ this->of_->get_input_view(this->offset_, this->size_); ++ md5_buffer(reinterpret_cast(iv), this->size_, this->dst_); ++ this->of_->free_input_view(this->offset_, this->size_, iv); ++ } + + Task_token* +- is_runnable(); ++ is_runnable() ++ { return NULL; } + + // Unblock FINAL_BLOCKER_ when done. + void +@@ -268,21 +272,13 @@ class Hash_task : public Task + { return "Hash_task"; } + + private: +- const unsigned char* const src_; ++ Output_file* of_; ++ const size_t offset_; + const size_t size_; + unsigned char* const dst_; +- Task_token* const build_id_blocker_; + Task_token* const final_blocker_; + }; + +-Task_token* +-Hash_task::is_runnable() +-{ +- if (this->build_id_blocker_->is_blocked()) +- return this->build_id_blocker_; +- return NULL; +-} +- + // Layout::Relaxation_debug_check methods. + + // Check that sections and special data are in reset states. +@@ -449,9 +445,6 @@ Layout::Layout(int number_of_input_files + eh_frame_hdr_section_(NULL), + gdb_index_data_(NULL), + build_id_note_(NULL), +- array_of_hashes_(NULL), +- size_of_array_of_hashes_(0), +- input_view_(NULL), + debug_abbrev_(NULL), + debug_info_(NULL), + group_signatures_(), +@@ -5349,56 +5342,13 @@ Layout::write_sections_after_input_secti + this->section_headers_->write(of); + } + +-// Build IDs can be computed as a "flat" sha1 or md5 of a string of bytes, +-// or as a "tree" where each chunk of the string is hashed and then those +-// hashes are put into a (much smaller) string which is hashed with sha1. +-// We compute a checksum over the entire file because that is simplest. +- +-Task_token* +-Layout::queue_build_id_tasks(Workqueue* workqueue, Task_token* build_id_blocker, +- Output_file* of) +-{ +- const size_t filesize = (this->output_file_size() <= 0 ? 0 +- : static_cast(this->output_file_size())); +- if (this->build_id_note_ != NULL +- && strcmp(parameters->options().build_id(), "tree") == 0 +- && parameters->options().build_id_chunk_size_for_treehash() > 0 +- && filesize > 0 +- && (filesize >= +- parameters->options().build_id_min_file_size_for_treehash())) +- { +- static const size_t MD5_OUTPUT_SIZE_IN_BYTES = 16; +- const size_t chunk_size = +- parameters->options().build_id_chunk_size_for_treehash(); +- const size_t num_hashes = ((filesize - 1) / chunk_size) + 1; +- Task_token* post_hash_tasks_blocker = new Task_token(true); +- post_hash_tasks_blocker->add_blockers(num_hashes); +- this->size_of_array_of_hashes_ = num_hashes * MD5_OUTPUT_SIZE_IN_BYTES; +- const unsigned char* src = of->get_input_view(0, filesize); +- this->input_view_ = src; +- unsigned char *dst = new unsigned char[this->size_of_array_of_hashes_]; +- this->array_of_hashes_ = dst; +- for (size_t i = 0, src_offset = 0; i < num_hashes; +- i++, dst += MD5_OUTPUT_SIZE_IN_BYTES, src_offset += chunk_size) +- { +- size_t size = std::min(chunk_size, filesize - src_offset); +- workqueue->queue(new Hash_task(src + src_offset, +- size, +- dst, +- build_id_blocker, +- post_hash_tasks_blocker)); +- } +- return post_hash_tasks_blocker; +- } +- return build_id_blocker; +-} +- + // If a tree-style build ID was requested, the parallel part of that computation + // is already done, and the final hash-of-hashes is computed here. For other + // types of build IDs, all the work is done here. + + void +-Layout::write_build_id(Output_file* of) const ++Layout::write_build_id(Output_file* of, unsigned char* array_of_hashes, ++ size_t size_of_hashes) const + { + if (this->build_id_note_ == NULL) + return; +@@ -5406,7 +5356,7 @@ Layout::write_build_id(Output_file* of) + unsigned char* ov = of->get_output_view(this->build_id_note_->offset(), + this->build_id_note_->data_size()); + +- if (this->array_of_hashes_ == NULL) ++ if (array_of_hashes == NULL) + { + const size_t output_file_size = this->output_file_size(); + const unsigned char* iv = of->get_input_view(0, output_file_size); +@@ -5427,10 +5377,9 @@ Layout::write_build_id(Output_file* of) + { + // Non-overlapping substrings of the output file have been hashed. + // Compute SHA-1 hash of the hashes. +- sha1_buffer(reinterpret_cast(this->array_of_hashes_), +- this->size_of_array_of_hashes_, ov); +- delete[] this->array_of_hashes_; +- of->free_input_view(0, this->output_file_size(), this->input_view_); ++ sha1_buffer(reinterpret_cast(array_of_hashes), ++ size_of_hashes, ov); ++ delete[] array_of_hashes; + } + + of->write_output_view(this->build_id_note_->offset(), +@@ -5629,6 +5578,57 @@ Write_after_input_sections_task::run(Wor + this->layout_->write_sections_after_input_sections(this->of_); + } + ++// Build IDs can be computed as a "flat" sha1 or md5 of a string of bytes, ++// or as a "tree" where each chunk of the string is hashed and then those ++// hashes are put into a (much smaller) string which is hashed with sha1. ++// We compute a checksum over the entire file because that is simplest. ++ ++void ++Build_id_task_runner::run(Workqueue* workqueue, const Task*) ++{ ++ Task_token* post_hash_tasks_blocker = new Task_token(true); ++ const Layout* layout = this->layout_; ++ Output_file* of = this->of_; ++ const size_t filesize = (layout->output_file_size() <= 0 ? 0 ++ : static_cast(layout->output_file_size())); ++ unsigned char* array_of_hashes = NULL; ++ size_t size_of_hashes = 0; ++ ++ if (strcmp(this->options_->build_id(), "tree") == 0 ++ && this->options_->build_id_chunk_size_for_treehash() > 0 ++ && filesize > 0 ++ && (filesize >= this->options_->build_id_min_file_size_for_treehash())) ++ { ++ static const size_t MD5_OUTPUT_SIZE_IN_BYTES = 16; ++ const size_t chunk_size = ++ this->options_->build_id_chunk_size_for_treehash(); ++ const size_t num_hashes = ((filesize - 1) / chunk_size) + 1; ++ post_hash_tasks_blocker->add_blockers(num_hashes); ++ size_of_hashes = num_hashes * MD5_OUTPUT_SIZE_IN_BYTES; ++ array_of_hashes = new unsigned char[size_of_hashes]; ++ unsigned char *dst = array_of_hashes; ++ for (size_t i = 0, src_offset = 0; i < num_hashes; ++ i++, dst += MD5_OUTPUT_SIZE_IN_BYTES, src_offset += chunk_size) ++ { ++ size_t size = std::min(chunk_size, filesize - src_offset); ++ workqueue->queue(new Hash_task(of, ++ src_offset, ++ size, ++ dst, ++ post_hash_tasks_blocker)); ++ } ++ } ++ ++ // Queue the final task to write the build id and close the output file. ++ workqueue->queue(new Task_function(new Close_task_runner(this->options_, ++ layout, ++ of, ++ array_of_hashes, ++ size_of_hashes), ++ post_hash_tasks_blocker, ++ "Task_function Close_task_runner")); ++} ++ + // Close_task_runner methods. + + // Finish up the build ID computation, if necessary, and write a binary file, +@@ -5638,8 +5638,9 @@ void + Close_task_runner::run(Workqueue*, const Task*) + { + // At this point the multi-threaded part of the build ID computation, +- // if any, is done. See queue_build_id_tasks(). +- this->layout_->write_build_id(this->of_); ++ // if any, is done. See Build_id_task_runner. ++ this->layout_->write_build_id(this->of_, this->array_of_hashes_, ++ this->size_of_hashes_); + + // If we've been asked to create a binary file, we do so here. + if (this->options_->oformat_enum() != General_options::OBJECT_FORMAT_ELF) +diff -rup binutils.orig/gold/layout.h binutils-2.25.1/gold/layout.h +--- binutils.orig/gold/layout.h 2017-10-18 12:37:20.539605249 +0100 ++++ binutils-2.25.1/gold/layout.h 2017-10-18 12:37:41.294359913 +0100 +@@ -891,16 +891,9 @@ class Layout + const Output_data_reloc_generic* dyn_rel, + bool add_debug, bool dynrel_includes_plt); + +- // If a treehash is necessary to compute the build ID, then queue +- // the necessary tasks and return a blocker that will unblock when +- // they finish. Otherwise return BUILD_ID_BLOCKER. +- Task_token* +- queue_build_id_tasks(Workqueue* workqueue, Task_token* build_id_blocker, +- Output_file* of); +- + // Compute and write out the build ID if needed. + void +- write_build_id(Output_file*) const; ++ write_build_id(Output_file*, unsigned char*, size_t) const; + + // Rewrite output file in binary format. + void +@@ -1374,12 +1367,6 @@ class Layout + Gdb_index* gdb_index_data_; + // The space for the build ID checksum if there is one. + Output_section_data* build_id_note_; +- // Temporary storage for tree hash of build ID. +- unsigned char* array_of_hashes_; +- // Size of array_of_hashes_ (in bytes). +- size_t size_of_array_of_hashes_; +- // Input view for computing tree hash of build ID. Freed in write_build_id(). +- const unsigned char* input_view_; + // The output section containing dwarf abbreviations + Output_reduced_debug_abbrev_section* debug_abbrev_; + // The output section containing the dwarf debug info tree +@@ -1596,14 +1583,40 @@ class Write_after_input_sections_task : + Task_token* final_blocker_; + }; + ++// This task function handles computation of the build id. ++// When using --build-id=tree, it schedules the tasks that ++// compute the hashes for each chunk of the file. This task ++// cannot run until we have finalized the size of the output ++// file, after the completion of Write_after_input_sections_task. ++ ++class Build_id_task_runner : public Task_function_runner ++{ ++ public: ++ Build_id_task_runner(const General_options* options, const Layout* layout, ++ Output_file* of) ++ : options_(options), layout_(layout), of_(of) ++ { } ++ ++ // Run the operation. ++ void ++ run(Workqueue*, const Task*); ++ ++ private: ++ const General_options* options_; ++ const Layout* layout_; ++ Output_file* of_; ++}; ++ + // This task function handles closing the file. + + class Close_task_runner : public Task_function_runner + { + public: + Close_task_runner(const General_options* options, const Layout* layout, +- Output_file* of) +- : options_(options), layout_(layout), of_(of) ++ Output_file* of, unsigned char* array_of_hashes, ++ size_t size_of_hashes) ++ : options_(options), layout_(layout), of_(of), ++ array_of_hashes_(array_of_hashes), size_of_hashes_(size_of_hashes) + { } + + // Run the operation. +@@ -1614,6 +1627,8 @@ class Close_task_runner : public Task_fu + const General_options* options_; + const Layout* layout_; + Output_file* of_; ++ unsigned char* const array_of_hashes_; ++ const size_t size_of_hashes_; + }; + + // A small helper function to align an address. +diff -rup binutils.orig/gold/testsuite/Makefile.am binutils-2.25.1/gold/testsuite/Makefile.am +--- binutils.orig/gold/testsuite/Makefile.am 2017-10-18 12:37:20.541605225 +0100 ++++ binutils-2.25.1/gold/testsuite/Makefile.am 2017-10-18 12:37:41.294359913 +0100 +@@ -1144,6 +1144,14 @@ flagstest_compress_debug_sections: flags + $(CXXLINK) -Bgcctestdir/ -o $@ $< -Wl,--compress-debug-sections=zlib + test -s $@ + ++# Test --compress-debug-sections with --build-id=tree. ++check_PROGRAMS += flagstest_compress_debug_sections_and_build_id_tree ++flagstest_compress_debug_sections_and_build_id_tree: flagstest_debug.o gcctestdir/ld ++ $(CXXLINK) -Bgcctestdir/ -o $@ $< -Wl,--compress-debug-sections=zlib \ ++ -Wl,--build-id=tree \ ++ -Wl,--build-id-chunk-size-for-treehash=4096 \ ++ -Wl,--build-id-min-file-size-for-treehash=0 ++ test -s $@ + + # The specialfile output has a tricky case when we also compress debug + # sections, because it requires output-file resizing. +diff -rup binutils.orig/gold/testsuite/Makefile.in binutils-2.25.1/gold/testsuite/Makefile.in +--- binutils.orig/gold/testsuite/Makefile.in 2017-10-18 12:37:20.543605201 +0100 ++++ binutils-2.25.1/gold/testsuite/Makefile.in 2017-10-18 12:45:11.181041939 +0100 +@@ -300,9 +300,12 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__E + + # Test --compress-debug-sections. FIXME: check we actually compress. + ++# Test --compress-debug-sections with --build-id=tree. ++ + # The specialfile output has a tricky case when we also compress debug + # sections, because it requires output-file resizing. + @GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@am__append_31 = flagstest_compress_debug_sections \ ++@GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections_and_build_id_tree \ + @GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ flagstest_o_specialfile_and_compress_debug_sections + + # Test -TText and -Tdata. +@@ -850,6 +853,7 @@ libgoldtest_a_OBJECTS = $(am_libgoldtest + @GCC_TRUE@@NATIVE_LINKER_TRUE@ initpri3a$(EXEEXT) \ + @GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_o_specialfile$(EXEEXT) + @GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@am__EXEEXT_21 = flagstest_compress_debug_sections$(EXEEXT) \ ++@GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections_and_build_id_tree$(EXEEXT) \ + @GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ flagstest_o_specialfile_and_compress_debug_sections$(EXEEXT) + @GCC_TRUE@@NATIVE_LINKER_TRUE@am__EXEEXT_22 = \ + @GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_o_ttext_1$(EXEEXT) \ +@@ -1112,6 +1116,14 @@ flagstest_compress_debug_sections_LDADD + flagstest_compress_debug_sections_DEPENDENCIES = libgoldtest.a \ + ../libgold.a ../../libiberty/libiberty.a $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) ++flagstest_compress_debug_sections_and_build_id_tree_SOURCES = \ ++ flagstest_compress_debug_sections_and_build_id_tree.c ++flagstest_compress_debug_sections_and_build_id_tree_OBJECTS = \ ++ flagstest_compress_debug_sections_and_build_id_tree.$(OBJEXT) ++flagstest_compress_debug_sections_and_build_id_tree_LDADD = $(LDADD) ++flagstest_compress_debug_sections_and_build_id_tree_DEPENDENCIES = \ ++ libgoldtest.a ../libgold.a ../../libiberty/libiberty.a \ ++ $(am__DEPENDENCIES_1) + flagstest_o_specialfile_SOURCES = flagstest_o_specialfile.c + flagstest_o_specialfile_OBJECTS = flagstest_o_specialfile.$(OBJEXT) + flagstest_o_specialfile_LDADD = $(LDADD) +@@ -1877,7 +1889,9 @@ SOURCES = $(libgoldtest_a_SOURCES) basic + $(exception_static_test_SOURCES) $(exception_test_SOURCES) \ + $(exception_x86_64_bnd_test_SOURCES) \ + $(exclude_libs_test_SOURCES) \ +- flagstest_compress_debug_sections.c flagstest_o_specialfile.c \ ++ flagstest_compress_debug_sections.c \ ++ flagstest_compress_debug_sections_and_build_id_tree.c \ ++ flagstest_o_specialfile.c \ + flagstest_o_specialfile_and_compress_debug_sections.c \ + flagstest_o_ttext_1.c icf_virtual_function_folding_test.c \ + $(ifuncmain1_SOURCES) ifuncmain1pic.c ifuncmain1picstatic.c \ +@@ -2900,6 +2914,12 @@ exclude_libs_test$(EXEEXT): $(exclude_li + @NATIVE_LINKER_FALSE@flagstest_compress_debug_sections$(EXEEXT): $(flagstest_compress_debug_sections_OBJECTS) $(flagstest_compress_debug_sections_DEPENDENCIES) + @NATIVE_LINKER_FALSE@ @rm -f flagstest_compress_debug_sections$(EXEEXT) + @NATIVE_LINKER_FALSE@ $(LINK) $(flagstest_compress_debug_sections_OBJECTS) $(flagstest_compress_debug_sections_LDADD) $(LIBS) ++@GCC_FALSE@flagstest_compress_debug_sections_and_build_id_tree$(EXEEXT): $(flagstest_compress_debug_sections_and_build_id_tree_OBJECTS) $(flagstest_compress_debug_sections_and_build_id_tree_DEPENDENCIES) ++@GCC_FALSE@ @rm -f flagstest_compress_debug_sections_and_build_id_tree$(EXEEXT) ++@GCC_FALSE@ $(LINK) $(flagstest_compress_debug_sections_and_build_id_tree_OBJECTS) $(flagstest_compress_debug_sections_and_build_id_tree_LDADD) $(LIBS) ++@NATIVE_LINKER_FALSE@flagstest_compress_debug_sections_and_build_id_tree$(EXEEXT): $(flagstest_compress_debug_sections_and_build_id_tree_OBJECTS) $(flagstest_compress_debug_sections_and_build_id_tree_DEPENDENCIES) ++@NATIVE_LINKER_FALSE@ @rm -f flagstest_compress_debug_sections_and_build_id_tree$(EXEEXT) ++@NATIVE_LINKER_FALSE@ $(LINK) $(flagstest_compress_debug_sections_and_build_id_tree_OBJECTS) $(flagstest_compress_debug_sections_and_build_id_tree_LDADD) $(LIBS) + @GCC_FALSE@flagstest_o_specialfile$(EXEEXT): $(flagstest_o_specialfile_OBJECTS) $(flagstest_o_specialfile_DEPENDENCIES) + @GCC_FALSE@ @rm -f flagstest_o_specialfile$(EXEEXT) + @GCC_FALSE@ $(LINK) $(flagstest_o_specialfile_OBJECTS) $(flagstest_o_specialfile_LDADD) $(LIBS) +@@ -3628,6 +3648,7 @@ distclean-compile: + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exception_test_main.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exclude_libs_test.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flagstest_compress_debug_sections.Po@am__quote@ ++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flagstest_compress_debug_sections_and_build_id_tree.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flagstest_o_specialfile.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flagstest_o_specialfile_and_compress_debug_sections.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/flagstest_o_ttext_1.Po@am__quote@ +@@ -4361,6 +4382,8 @@ flagstest_o_specialfile.log: flagstest_o + @p='flagstest_o_specialfile$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) + flagstest_compress_debug_sections.log: flagstest_compress_debug_sections$(EXEEXT) + @p='flagstest_compress_debug_sections$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) ++flagstest_compress_debug_sections_and_build_id_tree.log: flagstest_compress_debug_sections_and_build_id_tree$(EXEEXT) ++ @p='flagstest_compress_debug_sections_and_build_id_tree$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) + flagstest_o_specialfile_and_compress_debug_sections.log: flagstest_o_specialfile_and_compress_debug_sections$(EXEEXT) + @p='flagstest_o_specialfile_and_compress_debug_sections$(EXEEXT)'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) + flagstest_o_ttext_1.log: flagstest_o_ttext_1$(EXEEXT) +@@ -5128,6 +5151,12 @@ uninstall-am: + @GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@flagstest_compress_debug_sections: flagstest_debug.o gcctestdir/ld + @GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ $(CXXLINK) -Bgcctestdir/ -o $@ $< -Wl,--compress-debug-sections=zlib + @GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ test -s $@ ++@GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@flagstest_compress_debug_sections_and_build_id_tree: flagstest_debug.o gcctestdir/ld ++@GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ $(CXXLINK) -Bgcctestdir/ -o $@ $< -Wl,--compress-debug-sections=zlib \ ++@GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id=tree \ ++@GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=4096 \ ++@GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 ++@GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ test -s $@ + @GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@flagstest_o_specialfile_and_compress_debug_sections: flagstest_debug.o \ + @GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir/ld + @GCC_TRUE@@HAVE_ZLIB_TRUE@@NATIVE_LINKER_TRUE@ $(CXXLINK) -Bgcctestdir/ -o /dev/stdout $< -Wl,--compress-debug-sections=zlib 2>&1 | cat > $@ +Only in binutils-2.25.1/gold/testsuite: Makefile.in.orig +Only in binutils-2.25.1/gold/testsuite: Makefile.in.rej diff --git a/SOURCES/binutils-rh1224751.patch b/SOURCES/binutils-rh1224751.patch index 14efc69..fc030dd 100644 --- a/SOURCES/binutils-rh1224751.patch +++ b/SOURCES/binutils-rh1224751.patch @@ -12,1402 +12,6 @@ Date: Wed Dec 3 10:59:46 2014 -0800 -diff -Nrup a/gold/Makefile.in.orig b/gold/Makefile.in.orig ---- a/gold/Makefile.in.orig 2014-10-14 01:32:04.000000000 -0600 -+++ b/gold/Makefile.in.orig 1969-12-31 17:00:00.000000000 -0700 -@@ -1,1392 +0,0 @@ --# Makefile.in generated by automake 1.11.1 from Makefile.am. --# @configure_input@ -- --# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, --# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, --# Inc. --# This Makefile.in is free software; the Free Software Foundation --# gives unlimited permission to copy and/or distribute it, --# with or without modifications, as long as this notice is preserved. -- --# This program is distributed in the hope that it will be useful, --# but WITHOUT ANY WARRANTY, to the extent permitted by law; without --# even the implied warranty of MERCHANTABILITY or FITNESS FOR A --# PARTICULAR PURPOSE. -- --@SET_MAKE@ -- --# --# Copyright (C) 2006-2014 Free Software Foundation, Inc. --# --# This file is free software; you can redistribute it and/or modify --# it under the terms of the GNU General Public License as published by --# the Free Software Foundation; either version 3 of the License, or --# (at your option) any later version. --# --# This program is distributed in the hope that it will be useful, --# but WITHOUT ANY WARRANTY; without even the implied warranty of --# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --# GNU General Public License for more details. --# --# You should have received a copy of the GNU General Public License --# along with this program; see the file COPYING3. If not see --# . --# -- -- --VPATH = @srcdir@ --pkgdatadir = $(datadir)/@PACKAGE@ --pkgincludedir = $(includedir)/@PACKAGE@ --pkglibdir = $(libdir)/@PACKAGE@ --pkglibexecdir = $(libexecdir)/@PACKAGE@ --am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd --install_sh_DATA = $(install_sh) -c -m 644 --install_sh_PROGRAM = $(install_sh) -c --install_sh_SCRIPT = $(install_sh) -c --INSTALL_HEADER = $(INSTALL_DATA) --transform = $(program_transform_name) --NORMAL_INSTALL = : --PRE_INSTALL = : --POST_INSTALL = : --NORMAL_UNINSTALL = : --PRE_UNINSTALL = : --POST_UNINSTALL = : --build_triplet = @build@ --host_triplet = @host@ --target_triplet = @target@ --bin_PROGRAMS = dwp$(EXEEXT) --noinst_PROGRAMS = ld-new$(EXEEXT) incremental-dump$(EXEEXT) --@GCC_TRUE@@NATIVE_LINKER_TRUE@check_PROGRAMS = ld1$(EXEEXT) \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2$(EXEEXT) ld1-r$(EXEEXT) \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2-r$(EXEEXT) ld4$(EXEEXT) \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__EXEEXT_1) --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_1 = -Wl,--thread-count=3 --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_2 = -Wl,--thread-count=3 --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_3 = -Wl,--thread-count=13 --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_4 = -Wl,--thread-count=3 --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_5 = ld3 --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_6 = bootstrap-test-treehash-chunksize --subdir = . --DIST_COMMON = NEWS README ChangeLog $(srcdir)/Makefile.in \ -- $(srcdir)/Makefile.am $(top_srcdir)/configure \ -- $(am__configure_deps) $(srcdir)/config.in \ -- $(srcdir)/../mkinstalldirs $(top_srcdir)/po/Make-in ffsll.c \ -- ftruncate.c pread.c mremap.c yyscript.h yyscript.c \ -- $(srcdir)/../depcomp $(srcdir)/../ylwrap --ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 --am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \ -- $(top_srcdir)/../config/gettext-sister.m4 \ -- $(top_srcdir)/../config/lcmessage.m4 \ -- $(top_srcdir)/../config/lead-dot.m4 \ -- $(top_srcdir)/../config/nls.m4 \ -- $(top_srcdir)/../config/override.m4 \ -- $(top_srcdir)/../config/po.m4 \ -- $(top_srcdir)/../config/progtest.m4 \ -- $(top_srcdir)/../config/zlib.m4 \ -- $(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/configure.ac --am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ -- $(ACLOCAL_M4) --am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ -- configure.lineno config.status.lineno --mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs --CONFIG_HEADER = config.h --CONFIG_CLEAN_FILES = po/Makefile.in --CONFIG_CLEAN_VPATH_FILES = --LIBRARIES = $(noinst_LIBRARIES) --AR = ar --ARFLAGS = cru --libgold_a_AR = $(AR) $(ARFLAGS) --libgold_a_DEPENDENCIES = $(LIBOBJS) --am__objects_1 = archive.$(OBJEXT) attributes.$(OBJEXT) \ -- binary.$(OBJEXT) common.$(OBJEXT) compressed_output.$(OBJEXT) \ -- copy-relocs.$(OBJEXT) cref.$(OBJEXT) defstd.$(OBJEXT) \ -- descriptors.$(OBJEXT) dirsearch.$(OBJEXT) dynobj.$(OBJEXT) \ -- dwarf_reader.$(OBJEXT) ehframe.$(OBJEXT) errors.$(OBJEXT) \ -- expression.$(OBJEXT) fileread.$(OBJEXT) gc.$(OBJEXT) \ -- gdb-index.$(OBJEXT) gold.$(OBJEXT) gold-threads.$(OBJEXT) \ -- icf.$(OBJEXT) incremental.$(OBJEXT) int_encoding.$(OBJEXT) \ -- layout.$(OBJEXT) mapfile.$(OBJEXT) merge.$(OBJEXT) \ -- nacl.$(OBJEXT) object.$(OBJEXT) options.$(OBJEXT) \ -- output.$(OBJEXT) parameters.$(OBJEXT) plugin.$(OBJEXT) \ -- readsyms.$(OBJEXT) reduced_debug_output.$(OBJEXT) \ -- reloc.$(OBJEXT) resolve.$(OBJEXT) script-sections.$(OBJEXT) \ -- script.$(OBJEXT) stringpool.$(OBJEXT) symtab.$(OBJEXT) \ -- target.$(OBJEXT) target-select.$(OBJEXT) timer.$(OBJEXT) \ -- version.$(OBJEXT) workqueue.$(OBJEXT) \ -- workqueue-threads.$(OBJEXT) --am__objects_2 = --am__objects_3 = yyscript.$(OBJEXT) --am_libgold_a_OBJECTS = $(am__objects_1) $(am__objects_2) \ -- $(am__objects_3) $(am__objects_2) --libgold_a_OBJECTS = $(am_libgold_a_OBJECTS) --am__installdirs = "$(DESTDIR)$(bindir)" --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__EXEEXT_1 = \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ ld3$(EXEEXT) --PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) --am_dwp_OBJECTS = dwp.$(OBJEXT) --dwp_OBJECTS = $(am_dwp_OBJECTS) --am__DEPENDENCIES_1 = --dwp_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(dwp_LDFLAGS) \ -- $(LDFLAGS) -o $@ --am_incremental_dump_OBJECTS = incremental-dump.$(OBJEXT) --incremental_dump_OBJECTS = $(am_incremental_dump_OBJECTS) --am__objects_4 = main.$(OBJEXT) --am_ld_new_OBJECTS = $(am__objects_4) --ld_new_OBJECTS = $(am_ld_new_OBJECTS) --am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) libgold.a $(LIBIBERTY) \ -- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ -- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) --ld_new_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld_new_LDFLAGS) \ -- $(LDFLAGS) -o $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4) --ld1_OBJECTS = $(am_ld1_OBJECTS) --ld1_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_LDFLAGS) \ -- $(LDFLAGS) -o $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_r_OBJECTS = $(am__objects_4) --ld1_r_OBJECTS = $(am_ld1_r_OBJECTS) --ld1_r_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_r_LDFLAGS) \ -- $(LDFLAGS) -o $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_4) --ld2_OBJECTS = $(am_ld2_OBJECTS) --ld2_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_LDFLAGS) \ -- $(LDFLAGS) -o $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_r_OBJECTS = $(am__objects_4) --ld2_r_OBJECTS = $(am_ld2_r_OBJECTS) --ld2_r_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_r_LDFLAGS) \ -- $(LDFLAGS) -o $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld3_OBJECTS = $(am__objects_4) --ld3_OBJECTS = $(am_ld3_OBJECTS) --ld3_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld3_LDFLAGS) \ -- $(LDFLAGS) -o $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld4_OBJECTS = $(am__objects_4) --ld4_OBJECTS = $(am_ld4_OBJECTS) --ld4_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld4_LDFLAGS) \ -- $(LDFLAGS) -o $@ --DEFAULT_INCLUDES = -I.@am__isrc@ --depcomp = $(SHELL) $(top_srcdir)/../depcomp --am__depfiles_maybe = depfiles --am__mv = mv -f --COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) --CCLD = $(CC) --LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ --CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) --CXXLD = $(CXX) --CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -- -o $@ --@MAINTAINER_MODE_FALSE@am__skipyacc = test -f $@ || --YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS) --YLWRAP = $(top_srcdir)/../ylwrap --SOURCES = $(libgold_a_SOURCES) $(dwp_SOURCES) \ -- $(incremental_dump_SOURCES) $(ld_new_SOURCES) \ -- $(EXTRA_ld_new_SOURCES) $(ld1_SOURCES) $(ld1_r_SOURCES) \ -- $(ld2_SOURCES) $(ld2_r_SOURCES) $(ld3_SOURCES) $(ld4_SOURCES) --RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ -- html-recursive info-recursive install-data-recursive \ -- install-dvi-recursive install-exec-recursive \ -- install-html-recursive install-info-recursive \ -- install-pdf-recursive install-ps-recursive install-recursive \ -- installcheck-recursive installdirs-recursive pdf-recursive \ -- ps-recursive uninstall-recursive --RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ -- distclean-recursive maintainer-clean-recursive --AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ -- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ -- check check-html recheck recheck-html --ETAGS = etags --CTAGS = ctags --am__tty_colors = \ --red=; grn=; lgn=; blu=; std= --am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; --am__vpath_adj = case $$p in \ -- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ -- *) f=$$p;; \ -- esac; --am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; --am__install_max = 40 --am__nobase_strip_setup = \ -- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` --am__nobase_strip = \ -- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" --am__nobase_list = $(am__nobase_strip_setup); \ -- for p in $$list; do echo "$$p $$p"; done | \ -- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ -- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ -- if (++n[$$2] == $(am__install_max)) \ -- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ -- END { for (dir in files) print dir, files[dir] }' --am__base_list = \ -- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ -- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' --# Restructured Text title and section. --am__rst_title = sed 's/.*/ & /;h;s/./=/g;p;x;p;g;p;s/.*//' --am__rst_section = sed 'p;s/./=/g;p;g' --# Put stdin (possibly several lines separated by ". ") in a box. --am__text_box = $(AWK) '{ \ -- n = split($$0, lines, "\\. "); max = 0; \ -- for (i = 1; i <= n; ++i) \ -- if (max < length(lines[i])) \ -- max = length(lines[i]); \ -- for (i = 0; i < max; ++i) line = line "="; \ -- print line; \ -- for (i = 1; i <= n; ++i) if (lines[i]) print lines[i];\ -- print line; \ --}' --# Solaris 10 'make', and several other traditional 'make' implementations, --# pass "-e" to $(SHELL). This contradicts POSIX. Work around the problem --# by disabling -e (using the XSI extension "set +e") if it's set. --am__sh_e_setup = case $$- in *e*) set +e;; esac --# To be inserted before the command running the test. Creates the --# directory for the log if needed. Stores in $dir the directory --# containing $f, in $tst the test, in $log the log, and passes --# TESTS_ENVIRONMENT. Save and restore TERM around use of --# TESTS_ENVIRONMENT, in case that unsets it. --am__check_pre = \ --$(am__sh_e_setup); \ --$(am__vpath_adj_setup) $(am__vpath_adj) \ --srcdir=$(srcdir); export srcdir; \ --rm -f $@-t; \ --trap 'st=$$?; rm -f '\''$(abs_builddir)/$@-t'\''; (exit $$st); exit $$st' \ -- 1 2 13 15; \ --am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`; \ --test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?; \ --if test -f "./$$f"; then dir=./; \ --elif test -f "$$f"; then dir=; \ --else dir="$(srcdir)/"; fi; \ --tst=$$dir$$f; log='$@'; __SAVED_TERM=$$TERM; \ --$(TESTS_ENVIRONMENT) --RECHECK_LOGS = $(TEST_LOGS) --TEST_SUITE_LOG = test-suite.log --TEST_SUITE_HTML = $(TEST_SUITE_LOG:.log=.html) --TEST_EXTENSIONS = @EXEEXT@ .test --LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) --am__test_logs1 = $(TESTS:=.log) --am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) --TEST_LOGS = $(am__test_logs2:.test.log=.log) --TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ -- $(TEST_LOG_FLAGS) --TEST_LOGS_TMP = $(TEST_LOGS:.log=.log-t) --DIST_SUBDIRS = $(SUBDIRS) --ACLOCAL = @ACLOCAL@ --AMTAR = @AMTAR@ --AUTOCONF = @AUTOCONF@ --AUTOHEADER = @AUTOHEADER@ --AUTOMAKE = @AUTOMAKE@ --AWK = @AWK@ --CATALOGS = @CATALOGS@ --CATOBJEXT = @CATOBJEXT@ --CC = @CC@ --CCDEPMODE = @CCDEPMODE@ --CFLAGS = @CFLAGS@ --CPP = @CPP@ --CPPFLAGS = @CPPFLAGS@ --CXX = @CXX@ --CXXCPP = @CXXCPP@ --CXXDEPMODE = @CXXDEPMODE@ --CXXFLAGS = @CXXFLAGS@ --CYGPATH_W = @CYGPATH_W@ --DATADIRNAME = @DATADIRNAME@ --DEFAULT_TARGET = @DEFAULT_TARGET@ --DEFS = @DEFS@ --DEPDIR = @DEPDIR@ --DLOPEN_LIBS = @DLOPEN_LIBS@ --ECHO_C = @ECHO_C@ --ECHO_N = @ECHO_N@ --ECHO_T = @ECHO_T@ --EGREP = @EGREP@ --EXEEXT = @EXEEXT@ --GENCAT = @GENCAT@ --GMSGFMT = @GMSGFMT@ --GOLD_LDADD = @GOLD_LDADD@ --GOLD_LDFLAGS = @GOLD_LDFLAGS@ --GREP = @GREP@ --INCINTL = @INCINTL@ --INSTALL = @INSTALL@ --INSTALL_DATA = @INSTALL_DATA@ --INSTALL_PROGRAM = @INSTALL_PROGRAM@ --INSTALL_SCRIPT = @INSTALL_SCRIPT@ --INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ --INSTOBJEXT = @INSTOBJEXT@ --LDFLAGS = @LDFLAGS@ --LFS_CFLAGS = @LFS_CFLAGS@ --LIBINTL = @LIBINTL@ --LIBINTL_DEP = @LIBINTL_DEP@ --LIBOBJS = @LIBOBJS@ --LIBS = @LIBS@ --LN_S = @LN_S@ --LTLIBOBJS = @LTLIBOBJS@ --MAINT = @MAINT@ --MAKEINFO = @MAKEINFO@ --MERGE_CONSTANTS_FLAG = @MERGE_CONSTANTS_FLAG@ --MKDIR_P = @MKDIR_P@ --MKINSTALLDIRS = @MKINSTALLDIRS@ --MSGFMT = @MSGFMT@ --MSGMERGE = @MSGMERGE@ --NM = @NM@ --NO_WERROR = @NO_WERROR@ --OBJEXT = @OBJEXT@ --PACKAGE = @PACKAGE@ --PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ --PACKAGE_NAME = @PACKAGE_NAME@ --PACKAGE_STRING = @PACKAGE_STRING@ --PACKAGE_TARNAME = @PACKAGE_TARNAME@ --PACKAGE_URL = @PACKAGE_URL@ --PACKAGE_VERSION = @PACKAGE_VERSION@ --PATH_SEPARATOR = @PATH_SEPARATOR@ --POSUB = @POSUB@ --RANDOM_SEED_CFLAGS = @RANDOM_SEED_CFLAGS@ --RANLIB = @RANLIB@ --SET_MAKE = @SET_MAKE@ --SHELL = @SHELL@ --STRIP = @STRIP@ --TARGETOBJS = @TARGETOBJS@ --USE_NLS = @USE_NLS@ --VERSION = @VERSION@ --WARN_CFLAGS = @WARN_CFLAGS@ --WARN_CXXFLAGS = @WARN_CXXFLAGS@ --XGETTEXT = @XGETTEXT@ --YACC = @YACC@ --YFLAGS = @YFLAGS@ --abs_builddir = @abs_builddir@ --abs_srcdir = @abs_srcdir@ --abs_top_builddir = @abs_top_builddir@ --abs_top_srcdir = @abs_top_srcdir@ --ac_ct_CC = @ac_ct_CC@ --ac_ct_CXX = @ac_ct_CXX@ --am__include = @am__include@ --am__leading_dot = @am__leading_dot@ --am__quote = @am__quote@ --am__tar = @am__tar@ --am__untar = @am__untar@ --bindir = @bindir@ --build = @build@ --build_alias = @build_alias@ --build_cpu = @build_cpu@ --build_os = @build_os@ --build_vendor = @build_vendor@ --builddir = @builddir@ --datadir = @datadir@ --datarootdir = @datarootdir@ --docdir = @docdir@ --dvidir = @dvidir@ --exec_prefix = @exec_prefix@ --host = @host@ --host_alias = @host_alias@ --host_cpu = @host_cpu@ --host_os = @host_os@ --host_vendor = @host_vendor@ --htmldir = @htmldir@ --includedir = @includedir@ --infodir = @infodir@ --install_as_default = @install_as_default@ --install_sh = @install_sh@ --installed_linker = @installed_linker@ --libdir = @libdir@ --libexecdir = @libexecdir@ --localedir = @localedir@ --localstatedir = @localstatedir@ --mandir = @mandir@ --mkdir_p = @mkdir_p@ --oldincludedir = @oldincludedir@ --pdfdir = @pdfdir@ --prefix = @prefix@ --program_transform_name = @program_transform_name@ --psdir = @psdir@ --sbindir = @sbindir@ --sharedstatedir = @sharedstatedir@ --srcdir = @srcdir@ --sysconfdir = @sysconfdir@ --target = @target@ --target_alias = @target_alias@ --target_cpu = @target_cpu@ --target_os = @target_os@ --target_vendor = @target_vendor@ --top_build_prefix = @top_build_prefix@ --top_builddir = @top_builddir@ --top_srcdir = @top_srcdir@ --AUTOMAKE_OPTIONS = foreign --SUBDIRS = po testsuite --tooldir = $(exec_prefix)/$(target_alias) --ACLOCAL_AMFLAGS = -I ../bfd -I ../config --AM_CFLAGS = $(WARN_CFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS) --AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CFLAGS) $(RANDOM_SEED_CFLAGS) --AM_CPPFLAGS = \ -- -I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \ -- -DLOCALEDIR="\"$(datadir)/locale\"" \ -- -DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \ -- -DTOOLLIBDIR="\"$(tooldir)/lib\"" @INCINTL@ -- --LIBIBERTY = ../libiberty/libiberty.a --@PLUGINS_TRUE@LIBDL = @DLOPEN_LIBS@ --@THREADS_TRUE@THREADSLIB = -lpthread --AM_YFLAGS = -d -- --# Automake 1.10+ disables lex and yacc output file regeneration if --# maintainer mode is disabled. Avoid this. --am__skiplex = --am__skipyacc = --noinst_LIBRARIES = libgold.a --CCFILES = \ -- archive.cc \ -- attributes.cc \ -- binary.cc \ -- common.cc \ -- compressed_output.cc \ -- copy-relocs.cc \ -- cref.cc \ -- defstd.cc \ -- descriptors.cc \ -- dirsearch.cc \ -- dynobj.cc \ -- dwarf_reader.cc \ -- ehframe.cc \ -- errors.cc \ -- expression.cc \ -- fileread.cc \ -- gc.cc \ -- gdb-index.cc \ -- gold.cc \ -- gold-threads.cc \ -- icf.cc \ -- incremental.cc \ -- int_encoding.cc \ -- layout.cc \ -- mapfile.cc \ -- merge.cc \ -- nacl.cc \ -- object.cc \ -- options.cc \ -- output.cc \ -- parameters.cc \ -- plugin.cc \ -- readsyms.cc \ -- reduced_debug_output.cc \ -- reloc.cc \ -- resolve.cc \ -- script-sections.cc \ -- script.cc \ -- stringpool.cc \ -- symtab.cc \ -- target.cc \ -- target-select.cc \ -- timer.cc \ -- version.cc \ -- workqueue.cc \ -- workqueue-threads.cc -- --HFILES = \ -- arm-reloc-property.h \ -- aarch64-reloc-property.h \ -- archive.h \ -- attributes.h \ -- binary.h \ -- common.h \ -- compressed_output.h \ -- copy-relocs.h \ -- cref.h \ -- defstd.h \ -- dirsearch.h \ -- descriptors.h \ -- dynobj.h \ -- dwarf_reader.h \ -- ehframe.h \ -- errors.h \ -- fileread.h \ -- freebsd.h \ -- gc.h \ -- gdb-index.h \ -- gold.h \ -- gold-threads.h \ -- icf.h \ -- int_encoding.h \ -- layout.h \ -- mapfile.h \ -- merge.h \ -- nacl.h \ -- object.h \ -- options.h \ -- output.h \ -- parameters.h \ -- plugin.h \ -- readsyms.h \ -- reduced_debug_output.h \ -- reloc.h \ -- reloc-types.h \ -- script-c.h \ -- script-sections.h \ -- script.h \ -- stringpool.h \ -- symtab.h \ -- target.h \ -- target-reloc.h \ -- target-select.h \ -- timer.h \ -- tls.h \ -- token.h \ -- workqueue.h \ -- workqueue-internal.h -- --YFILES = \ -- yyscript.y -- --DEFFILES = arm-reloc.def aarch64-reloc.def --EXTRA_DIST = yyscript.c yyscript.h --TARGETSOURCES = \ -- i386.cc x86_64.cc sparc.cc powerpc.cc arm.cc arm-reloc-property.cc tilegx.cc \ -- mips.cc aarch64.cc aarch64-reloc-property.cc -- --ALL_TARGETOBJS = \ -- i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT) \ -- arm.$(OBJEXT) arm-reloc-property.$(OBJEXT) tilegx.$(OBJEXT) \ -- mips.$(OBJEXT) aarch64.$(OBJEXT) aarch64-reloc-property.$(OBJEXT) -- --libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES) $(DEFFILES) --libgold_a_LIBADD = $(LIBOBJS) --sources_var = main.cc --deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP) --ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) \ -- $(THREADSLIB) $(LIBDL) -- --ldflags_var = $(GOLD_LDFLAGS) --ld_new_SOURCES = $(sources_var) --ld_new_DEPENDENCIES = $(deps_var) --ld_new_LDADD = $(ldadd_var) --ld_new_LDFLAGS = $(ldflags_var) --EXTRA_ld_new_SOURCES = $(TARGETSOURCES) --incremental_dump_SOURCES = incremental-dump.cc --incremental_dump_DEPENDENCIES = $(TARGETOBJS) libgold.a $(LIBIBERTY) \ -- $(LIBINTL_DEP) -- --incremental_dump_LDADD = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL) \ -- $(THREADSLIB) $(LIBDL) -- --dwp_SOURCES = dwp.cc --dwp_DEPENDENCIES = libgold.a $(LIBIBERTY) $(LIBINTL_DEP) --dwp_LDADD = libgold.a $(LIBIBERTY) $(GOLD_LDADD) $(LIBINTL) $(THREADSLIB) \ -- $(LIBDL) -- --dwp_LDFLAGS = $(GOLD_LDFLAGS) --CONFIG_STATUS_DEPENDENCIES = $(srcdir)/../bfd/development.sh --POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Bgcctestdir1/ \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id=tree \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_1) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Bgcctestdir2/ \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id=tree \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_2) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_SOURCES = $(sources_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDADD = libgold-1-r.o $(ldadd_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDFLAGS = -Bgcctestdir1/ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_SOURCES = $(sources_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDADD = libgold-2-r.o $(ldadd_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDFLAGS = -Bgcctestdir2-r/ --@GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test bootstrap-test-r \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_6) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_SOURCES = $(sources_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_DEPENDENCIES = $(deps_var) gcctestdir3/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LDADD = $(ldadd_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LDFLAGS = -Bgcctestdir3/ \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id=tree \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_3) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_SOURCES = $(sources_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_DEPENDENCIES = $(deps_var) gcctestdir4/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LDADD = $(ldadd_var) --@GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LDFLAGS = -Bgcctestdir4/ \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id=tree \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12346 \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_4) --all: config.h -- $(MAKE) $(AM_MAKEFLAGS) all-recursive -- --.SUFFIXES: --.SUFFIXES: .c .cc .html .log .o .obj .test .test$(EXEEXT) .y --am--refresh: -- @: --$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) -- @for dep in $?; do \ -- case '$(am__configure_deps)' in \ -- *$$dep*) \ -- echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ -- $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ -- && exit 0; \ -- exit 1;; \ -- esac; \ -- done; \ -- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ -- $(am__cd) $(top_srcdir) && \ -- $(AUTOMAKE) --foreign Makefile --.PRECIOUS: Makefile --Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -- @case '$?' in \ -- *config.status*) \ -- echo ' $(SHELL) ./config.status'; \ -- $(SHELL) ./config.status;; \ -- *) \ -- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ -- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ -- esac; -- --$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) -- $(SHELL) ./config.status --recheck -- --$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) -- $(am__cd) $(srcdir) && $(AUTOCONF) --$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) -- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) --$(am__aclocal_m4_deps): -- --config.h: stamp-h1 -- @if test ! -f $@; then \ -- rm -f stamp-h1; \ -- $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ -- else :; fi -- --stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status -- @rm -f stamp-h1 -- cd $(top_builddir) && $(SHELL) ./config.status config.h --$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) -- ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) -- rm -f stamp-h1 -- touch $@ -- --distclean-hdr: -- -rm -f config.h stamp-h1 --po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in -- cd $(top_builddir) && $(SHELL) ./config.status $@ -- --clean-noinstLIBRARIES: -- -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) --yyscript.h: yyscript.c -- @if test ! -f $@; then \ -- rm -f yyscript.c; \ -- $(MAKE) $(AM_MAKEFLAGS) yyscript.c; \ -- else :; fi --libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES) -- -rm -f libgold.a -- $(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD) -- $(RANLIB) libgold.a --install-binPROGRAMS: $(bin_PROGRAMS) -- @$(NORMAL_INSTALL) -- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" -- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ -- for p in $$list; do echo "$$p $$p"; done | \ -- sed 's/$(EXEEXT)$$//' | \ -- while read p p1; do if test -f $$p; \ -- then echo "$$p"; echo "$$p"; else :; fi; \ -- done | \ -- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -- -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ -- sed 'N;N;N;s,\n, ,g' | \ -- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ -- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ -- if ($$2 == $$4) files[d] = files[d] " " $$1; \ -- else { print "f", $$3 "/" $$4, $$1; } } \ -- END { for (d in files) print "f", d, files[d] }' | \ -- while read type dir files; do \ -- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ -- test -z "$$files" || { \ -- echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ -- $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ -- } \ -- ; done -- --uninstall-binPROGRAMS: -- @$(NORMAL_UNINSTALL) -- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ -- files=`for p in $$list; do echo "$$p"; done | \ -- sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -- -e 's/$$/$(EXEEXT)/' `; \ -- test -n "$$list" || exit 0; \ -- echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ -- cd "$(DESTDIR)$(bindir)" && rm -f $$files -- --clean-binPROGRAMS: -- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) -- --clean-checkPROGRAMS: -- -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS) -- --clean-noinstPROGRAMS: -- -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) --dwp$(EXEEXT): $(dwp_OBJECTS) $(dwp_DEPENDENCIES) -- @rm -f dwp$(EXEEXT) -- $(dwp_LINK) $(dwp_OBJECTS) $(dwp_LDADD) $(LIBS) --incremental-dump$(EXEEXT): $(incremental_dump_OBJECTS) $(incremental_dump_DEPENDENCIES) -- @rm -f incremental-dump$(EXEEXT) -- $(CXXLINK) $(incremental_dump_OBJECTS) $(incremental_dump_LDADD) $(LIBS) --ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) -- @rm -f ld-new$(EXEEXT) -- $(ld_new_LINK) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS) --ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES) -- @rm -f ld1$(EXEEXT) -- $(ld1_LINK) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS) --ld1-r$(EXEEXT): $(ld1_r_OBJECTS) $(ld1_r_DEPENDENCIES) -- @rm -f ld1-r$(EXEEXT) -- $(ld1_r_LINK) $(ld1_r_OBJECTS) $(ld1_r_LDADD) $(LIBS) --ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES) -- @rm -f ld2$(EXEEXT) -- $(ld2_LINK) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS) --ld2-r$(EXEEXT): $(ld2_r_OBJECTS) $(ld2_r_DEPENDENCIES) -- @rm -f ld2-r$(EXEEXT) -- $(ld2_r_LINK) $(ld2_r_OBJECTS) $(ld2_r_LDADD) $(LIBS) --ld3$(EXEEXT): $(ld3_OBJECTS) $(ld3_DEPENDENCIES) -- @rm -f ld3$(EXEEXT) -- $(ld3_LINK) $(ld3_OBJECTS) $(ld3_LDADD) $(LIBS) --ld4$(EXEEXT): $(ld4_OBJECTS) $(ld4_DEPENDENCIES) -- @rm -f ld4$(EXEEXT) -- $(ld4_LINK) $(ld4_OBJECTS) $(ld4_LDADD) $(LIBS) -- --mostlyclean-compile: -- -rm -f *.$(OBJEXT) -- --distclean-compile: -- -rm -f *.tab.c -- --@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ffsll.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ftruncate.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/mremap.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aarch64-reloc-property.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aarch64.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm-reloc-property.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arm.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attributes.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binary.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compressed_output.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy-relocs.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cref.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/descriptors.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwarf_reader.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dwp.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expression.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gc.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb-index.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/icf.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental-dump.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/incremental.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_encoding.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapfile.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mips.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nacl.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerpc.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reduced_debug_output.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script-sections.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparc.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tilegx.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue-threads.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@ --@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@ -- --.c.o: --@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< --@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po --@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ --@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --@am__fastdepCC_FALSE@ $(COMPILE) -c $< -- --.c.obj: --@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` --@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po --@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ --@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` -- --.cc.o: --@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< --@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po --@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ --@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< -- --.cc.obj: --@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` --@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po --@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ --@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ --@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` -- --.y.c: -- $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) -- --# This directory's subdirectories are mostly independent; you can cd --# into them and run `make' without going through this Makefile. --# To change the values of `make' variables: instead of editing Makefiles, --# (1) if the variable is set in `config.status', edit `config.status' --# (which will cause the Makefiles to be regenerated when you run `make'); --# (2) otherwise, pass the desired values on the `make' command line. --$(RECURSIVE_TARGETS): -- @fail= failcom='exit 1'; \ -- for f in x $$MAKEFLAGS; do \ -- case $$f in \ -- *=* | --[!k]*);; \ -- *k*) failcom='fail=yes';; \ -- esac; \ -- done; \ -- dot_seen=no; \ -- target=`echo $@ | sed s/-recursive//`; \ -- list='$(SUBDIRS)'; for subdir in $$list; do \ -- echo "Making $$target in $$subdir"; \ -- if test "$$subdir" = "."; then \ -- dot_seen=yes; \ -- local_target="$$target-am"; \ -- else \ -- local_target="$$target"; \ -- fi; \ -- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ -- || eval $$failcom; \ -- done; \ -- if test "$$dot_seen" = "no"; then \ -- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ -- fi; test -z "$$fail" -- --$(RECURSIVE_CLEAN_TARGETS): -- @fail= failcom='exit 1'; \ -- for f in x $$MAKEFLAGS; do \ -- case $$f in \ -- *=* | --[!k]*);; \ -- *k*) failcom='fail=yes';; \ -- esac; \ -- done; \ -- dot_seen=no; \ -- case "$@" in \ -- distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ -- *) list='$(SUBDIRS)' ;; \ -- esac; \ -- rev=''; for subdir in $$list; do \ -- if test "$$subdir" = "."; then :; else \ -- rev="$$subdir $$rev"; \ -- fi; \ -- done; \ -- rev="$$rev ."; \ -- target=`echo $@ | sed s/-recursive//`; \ -- for subdir in $$rev; do \ -- echo "Making $$target in $$subdir"; \ -- if test "$$subdir" = "."; then \ -- local_target="$$target-am"; \ -- else \ -- local_target="$$target"; \ -- fi; \ -- ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ -- || eval $$failcom; \ -- done && test -z "$$fail" --tags-recursive: -- list='$(SUBDIRS)'; for subdir in $$list; do \ -- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ -- done --ctags-recursive: -- list='$(SUBDIRS)'; for subdir in $$list; do \ -- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ -- done -- --ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) -- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ -- unique=`for i in $$list; do \ -- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ -- done | \ -- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ -- END { if (nonempty) { for (i in files) print i; }; }'`; \ -- mkid -fID $$unique --tags: TAGS -- --TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \ -- $(TAGS_FILES) $(LISP) -- set x; \ -- here=`pwd`; \ -- if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ -- include_option=--etags-include; \ -- empty_fix=.; \ -- else \ -- include_option=--include; \ -- empty_fix=; \ -- fi; \ -- list='$(SUBDIRS)'; for subdir in $$list; do \ -- if test "$$subdir" = .; then :; else \ -- test ! -f $$subdir/TAGS || \ -- set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ -- fi; \ -- done; \ -- list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \ -- unique=`for i in $$list; do \ -- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ -- done | \ -- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ -- END { if (nonempty) { for (i in files) print i; }; }'`; \ -- shift; \ -- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ -- test -n "$$unique" || unique=$$empty_fix; \ -- if test $$# -gt 0; then \ -- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ -- "$$@" $$unique; \ -- else \ -- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ -- $$unique; \ -- fi; \ -- fi --ctags: CTAGS --CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \ -- $(TAGS_FILES) $(LISP) -- list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \ -- unique=`for i in $$list; do \ -- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ -- done | \ -- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ -- END { if (nonempty) { for (i in files) print i; }; }'`; \ -- test -z "$(CTAGS_ARGS)$$unique" \ -- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ -- $$unique -- --GTAGS: -- here=`$(am__cd) $(top_builddir) && pwd` \ -- && $(am__cd) $(top_srcdir) \ -- && gtags -i $(GTAGS_ARGS) "$$here" -- --distclean-tags: -- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -- --# To be appended to the command running the test. Handle the stdout --# and stderr redirection, and catch the exit status. --am__check_post = \ -->$@-t 2>&1; \ --estatus=$$?; \ --if test -n '$(DISABLE_HARD_ERRORS)' \ -- && test $$estatus -eq 99; then \ -- estatus=1; \ --fi; \ --TERM=$$__SAVED_TERM; export TERM; \ --$(am__tty_colors); \ --xfailed=PASS; \ --case " $(XFAIL_TESTS) " in \ -- *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ -- xfailed=XFAIL;; \ --esac; \ --case $$estatus:$$xfailed in \ -- 0:XFAIL) col=$$red; res=XPASS;; \ -- 0:*) col=$$grn; res=PASS ;; \ -- 77:*) col=$$blu; res=SKIP ;; \ -- 99:*) col=$$red; res=FAIL ;; \ -- *:XFAIL) col=$$lgn; res=XFAIL;; \ -- *:*) col=$$red; res=FAIL ;; \ --esac; \ --echo "$${col}$$res$${std}: $$f"; \ --echo "$$res: $$f (exit: $$estatus)" | \ -- $(am__rst_section) >$@; \ --cat $@-t >>$@; \ --rm -f $@-t -- --$(TEST_SUITE_LOG): $(TEST_LOGS) -- @$(am__sh_e_setup); \ -- list='$(TEST_LOGS)'; \ -- results=`for f in $$list; do \ -- read line < $$f && echo "$$line" || echo FAIL; \ -- done`; \ -- all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[ ]*//'`; \ -- fail=`echo "$$results" | grep -c '^FAIL'`; \ -- pass=`echo "$$results" | grep -c '^PASS'`; \ -- skip=`echo "$$results" | grep -c '^SKIP'`; \ -- xfail=`echo "$$results" | grep -c '^XFAIL'`; \ -- xpass=`echo "$$results" | grep -c '^XPASS'`; \ -- failures=`expr $$fail + $$xpass`; \ -- all=`expr $$all - $$skip`; \ -- if test "$$all" -eq 1; then tests=test; All=; \ -- else tests=tests; All="All "; fi; \ -- case fail=$$fail:xpass=$$xpass:xfail=$$xfail in \ -- fail=0:xpass=0:xfail=0) \ -- msg="$$All$$all $$tests passed. "; \ -- exit=true;; \ -- fail=0:xpass=0:xfail=*) \ -- msg="$$All$$all $$tests behaved as expected"; \ -- if test "$$xfail" -eq 1; then xfailures=failure; \ -- else xfailures=failures; fi; \ -- msg="$$msg ($$xfail expected $$xfailures). "; \ -- exit=true;; \ -- fail=*:xpass=0:xfail=*) \ -- msg="$$fail of $$all $$tests failed. "; \ -- exit=false;; \ -- fail=*:xpass=*:xfail=*) \ -- msg="$$failures of $$all $$tests did not behave as expected"; \ -- if test "$$xpass" -eq 1; then xpasses=pass; \ -- else xpasses=passes; fi; \ -- msg="$$msg ($$xpass unexpected $$xpasses). "; \ -- exit=false;; \ -- *) \ -- echo >&2 "incorrect case"; exit 4;; \ -- esac; \ -- if test "$$skip" -ne 0; then \ -- if test "$$skip" -eq 1; then \ -- msg="$$msg($$skip test was not run). "; \ -- else \ -- msg="$$msg($$skip tests were not run). "; \ -- fi; \ -- fi; \ -- { \ -- echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ -- $(am__rst_title); \ -- echo "$$msg"; \ -- echo; \ -- echo ".. contents:: :depth: 2"; \ -- echo; \ -- for f in $$list; do \ -- read line < $$f; \ -- case $$line in \ -- PASS:*|XFAIL:*);; \ -- *) echo; cat $$f;; \ -- esac; \ -- done; \ -- } >$(TEST_SUITE_LOG).tmp; \ -- mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ -- if test "$$failures" -ne 0; then \ -- msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG). "; \ -- if test -n "$(PACKAGE_BUGREPORT)"; then \ -- msg="$${msg}Please report to $(PACKAGE_BUGREPORT). "; \ -- fi; \ -- fi; \ -- test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG); \ -- $(am__tty_colors); \ -- if $$exit; then \ -- echo $(ECHO_N) "$$grn$(ECHO_C)"; \ -- else \ -- echo $(ECHO_N) "$$red$(ECHO_C)"; \ -- fi; \ -- echo "$$msg" | $(am__text_box); \ -- echo $(ECHO_N) "$$std$(ECHO_C)"; \ -- $$exit -- --# Run all the tests. --check-TESTS: -- @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list -- @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) -- @list='$(TEST_LOGS)'; \ -- list=`for f in $$list; do \ -- test .log = $$f || echo $$f; \ -- done | tr '\012\015' ' '`; \ -- $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list" -- --.log.html: -- @list='$(RST2HTML) $$RST2HTML rst2html rst2html.py'; \ -- for r2h in $$list; do \ -- if ($$r2h --version) >/dev/null 2>&1; then \ -- R2H=$$r2h; \ -- fi; \ -- done; \ -- if test -z "$$R2H"; then \ -- echo >&2 "cannot find rst2html, cannot create $@"; \ -- exit 2; \ -- fi; \ -- $$R2H $< >$@.tmp -- @mv $@.tmp $@ -- --# Be sure to run check first, and then to convert the result. --# Beware of concurrent executions. Run "check" not "check-TESTS", as --# check-SCRIPTS and other dependencies are rebuilt by the former only. --# And expect check to fail. --check-html: -- @if $(MAKE) $(AM_MAKEFLAGS) check; then \ -- rv=0; else rv=$$?; \ -- fi; \ -- $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) || exit 4; \ -- exit $$rv --recheck recheck-html: -- @target=`echo $@ | sed 's,^re,,'`; \ -- list='$(TEST_LOGS)'; \ -- list=`for f in $$list; do \ -- test -f $$f || continue; \ -- if read line < $$f; then \ -- case $$line in FAIL*|XPASS*) echo $$f;; esac; \ -- else echo $$f; fi; \ -- done | tr '\012\015' ' '`; \ -- $(MAKE) $(AM_MAKEFLAGS) $$target AM_MAKEFLAGS='$(AM_MAKEFLAGS) TEST_LOGS="'"$$list"'"' --bootstrap-test.log: bootstrap-test -- @p='bootstrap-test'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) --bootstrap-test-r.log: bootstrap-test-r -- @p='bootstrap-test-r'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) --bootstrap-test-treehash-chunksize.log: bootstrap-test-treehash-chunksize -- @p='bootstrap-test-treehash-chunksize'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post) --.test.log: -- @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post) --@am__EXEEXT_TRUE@.test$(EXEEXT).log: --@am__EXEEXT_TRUE@ @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post) --check-am: all-am -- $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) -- $(MAKE) $(AM_MAKEFLAGS) check-TESTS --check: check-recursive --all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h --installdirs: installdirs-recursive --installdirs-am: -- for dir in "$(DESTDIR)$(bindir)"; do \ -- test -z "$$dir" || $(MKDIR_P) "$$dir"; \ -- done --install: install-recursive --install-exec: install-exec-recursive --install-data: install-data-recursive --uninstall: uninstall-recursive -- --install-am: all-am -- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -- --installcheck: installcheck-recursive --install-strip: -- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ -- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ -- `test -z '$(STRIP)' || \ -- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install --mostlyclean-generic: -- -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) -- -test -z "$(TEST_LOGS_TMP)" || rm -f $(TEST_LOGS_TMP) -- -test -z "$(TEST_SUITE_HTML)" || rm -f $(TEST_SUITE_HTML) -- -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) -- --clean-generic: -- --distclean-generic: -- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -- --maintainer-clean-generic: -- @echo "This command is intended for maintainers to use" -- @echo "it deletes files that may require special tools to rebuild." -- -rm -f yyscript.c -- -rm -f yyscript.h --clean: clean-recursive -- --clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ -- clean-noinstLIBRARIES clean-noinstPROGRAMS mostlyclean-am -- --distclean: distclean-recursive -- -rm -f $(am__CONFIG_DISTCLEAN_FILES) -- -rm -rf $(DEPDIR) ./$(DEPDIR) -- -rm -f Makefile --distclean-am: clean-am distclean-compile distclean-generic \ -- distclean-hdr distclean-tags -- --dvi: dvi-recursive -- --dvi-am: -- --html: html-recursive -- --html-am: -- --info: info-recursive -- --info-am: -- --install-data-am: install-data-local -- --install-dvi: install-dvi-recursive -- --install-dvi-am: -- --install-exec-am: install-binPROGRAMS install-exec-local -- --install-html: install-html-recursive -- --install-html-am: -- --install-info: install-info-recursive -- --install-info-am: -- --install-man: -- --install-pdf: install-pdf-recursive -- --install-pdf-am: -- --install-ps: install-ps-recursive -- --install-ps-am: -- --installcheck-am: -- --maintainer-clean: maintainer-clean-recursive -- -rm -f $(am__CONFIG_DISTCLEAN_FILES) -- -rm -rf $(top_srcdir)/autom4te.cache -- -rm -rf $(DEPDIR) ./$(DEPDIR) -- -rm -f Makefile --maintainer-clean-am: distclean-am maintainer-clean-generic -- --mostlyclean: mostlyclean-recursive -- --mostlyclean-am: mostlyclean-compile mostlyclean-generic -- --pdf: pdf-recursive -- --pdf-am: -- --ps: ps-recursive -- --ps-am: -- --uninstall-am: uninstall-binPROGRAMS -- --.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \ -- check-html ctags-recursive install-am install-strip recheck \ -- recheck-html tags-recursive -- --.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ -- all all-am am--refresh check check-TESTS check-am check-html \ -- clean clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ -- clean-noinstLIBRARIES clean-noinstPROGRAMS ctags \ -- ctags-recursive distclean distclean-compile distclean-generic \ -- distclean-hdr distclean-tags dvi dvi-am html html-am info \ -- info-am install install-am install-binPROGRAMS install-data \ -- install-data-am install-data-local install-dvi install-dvi-am \ -- install-exec install-exec-am install-exec-local install-html \ -- install-html-am install-info install-info-am install-man \ -- install-pdf install-pdf-am install-ps install-ps-am \ -- install-strip installcheck installcheck-am installdirs \ -- installdirs-am maintainer-clean maintainer-clean-generic \ -- mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ -- ps ps-am recheck recheck-html tags tags-recursive uninstall \ -- uninstall-am uninstall-binPROGRAMS -- -- --# Use an explicit dependency for the bison generated header file. --expression.$(OBJEXT): yyscript.h --script-sections.$(OBJEXT): yyscript.h --script.$(OBJEXT): yyscript.h -- --# We have to build libgold.a before we run the tests. --check: libgold.a -- --.PHONY: install-exec-local -- --install-exec-local: ld-new$(EXEEXT) -- $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin -- n=`echo $(installed_linker) | sed '$(transform)'`; \ -- $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) \ -- ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \ -- if test "$(bindir)" != "$(tooldir)/bin"; then \ -- rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \ -- ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \ -- || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \ -- fi; \ -- if test "x$(install_as_default)" = "xyes"; then \ -- ld=`echo ld | sed '$(transform)'`; \ -- rm -f $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \ -- ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT) >/dev/null 2>/dev/null \ -- || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \ -- if test "$(bindir)" != "$(tooldir)/bin"; then \ -- rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ -- ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ -- || $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ -- fi; \ -- fi -- --# We want install to imply install-info as per GNU standards, despite --# the cygnus option. --install-data-local: install-info -- --po/POTFILES.in: @MAINT@ Makefile -- for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \ -- && mv tmp $(srcdir)/po/POTFILES.in -- --# Bootstrap test support. We use ld-new to build ld1, then use ld1 to --# build ld2. ld1 and ld2 should be identical. ld-new need not be --# identical to ld1, since it was linked with the host linker. -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld: ld-new --@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1 --@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir1/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir1 && $(LN_S) ../ld-new ld) -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld: ld1 --@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2 --@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2 && $(LN_S) ../ld1 ld) -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2 --@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" >> $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@ -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-1-r.o: gcctestdir1/ld libgold.a --@GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir1/ld -o $@ -r --whole-archive libgold.a -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2-r/ld: ld1-r --@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2-r || mkdir -p gcctestdir2-r --@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2-r/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2-r && $(LN_S) ../ld1-r ld) -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-2-r.o: gcctestdir2-r/ld libgold.a --@GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-r: ld2-r --@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1-r ld2-r" >> $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@ -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir3/ld: ld-new --@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir3 || mkdir -p gcctestdir3 --@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir3/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir3 && $(LN_S) ../ld-new ld) -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir4/ld: ld-new --@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir4 || mkdir -p gcctestdir4 --@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir4/ld --@GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir4 && $(LN_S) ../ld-new ld) -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@bootstrap-test-treehash: ld1 ld3 --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ rm -f $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ echo "#!/bin/sh" > $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ echo "cmp ld1 ld3" >> $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ chmod +x $@ -- --@GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-treehash-chunksize: ld1 ld4 --@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld4 | grep ." >> $@ --@GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@ -- --# Tell versions [3.59,3.63) of GNU make to not export all variables. --# Otherwise a system limit (for SysV at least) may be exceeded. --.NOEXPORT: diff -Nrup a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am --- a/gold/testsuite/Makefile.am 2014-10-14 01:32:04.000000000 -0600 +++ b/gold/testsuite/Makefile.am 2015-07-01 11:46:43.336821035 -0600 diff --git a/SPECS/binutils.spec b/SPECS/binutils.spec index c650c87..0664c0a 100644 --- a/SPECS/binutils.spec +++ b/SPECS/binutils.spec @@ -23,7 +23,7 @@ Summary: A GNU collection of binary utilities Name: %{?scl_prefix}%{?cross}binutils%{?_with_debug:-debug} Version: 2.25.1 -Release: 10%{?dist} +Release: 10%{?dist}.1 License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -72,6 +72,7 @@ Patch1017: binutils-2.25.1-gold-testsuite-fixes.patch # Add support for Intel Memory Protection Key instructions. Patch1018: binutils-rh1309347.patch Patch1019: binutils-2.25-kernel-ld-r.bugfix.patch +Patch1020: binutils-gold-compressed-debug-build-id.patch Provides: bundled(libiberty) @@ -211,6 +212,7 @@ using libelf instead of BFD. %patch1017 -p0 %patch1018 -p1 %patch1019 -p1 +%patch1020 -p1 # We cannot run autotools as there is an exact requirement of autoconf-2.59. @@ -511,6 +513,14 @@ exit 0 %endif # %{isnative} %changelog +* Tue Oct 24 2017 Nick Clifton 2.25.1-10.el7.1 +- Fix numbering of z-stream release. + (#1505857) + +* Mon Oct 23 2017 Nick Clifton 2.25.1-10.1 +- Fix generation of build-id in GOLD when using compressed debug sections + (#1502502) + * Mon Apr 04 2016 Patsy Franklin 2.25.1-10 - Fix a case where the string was being used after the memory containing the string had been freed.