Bug 432800 - make elf-dynstr-gc silent on success; r=benjamin@smedbergs.us
authorSergey Yanovich <ynvich@gmail.com>
Wed, 18 Feb 2009 01:14:55 +0100
changeset 25083 409ff9f2be417b96001c221cdeda7fe4c365bcfa
parent 25082 870843e43abe55aaf9fb73f36d171f8acd59aba5
child 25113 71e9be2a304c123209cd739004f4b98310b892de
push idunknown
push userunknown
push dateunknown
reviewersbenjamin
bugs432800
milestone1.9.2a1pre
Bug 432800 - make elf-dynstr-gc silent on success; r=benjamin@smedbergs.us
config/elf-dynstr-gc.c
--- a/config/elf-dynstr-gc.c
+++ b/config/elf-dynstr-gc.c
@@ -1169,17 +1169,16 @@ main(int argc, char *argv[])
   
   new_dynstr = generate_new_dynstr(&new_dynstr_size);
   /*
   printf("New dynstr size: %d\n", new_dynstr_size);
   printf("Old dynstr size: %d\n", old_dynstr_size);
   */
   
   if (new_dynstr_size >= old_dynstr_size) {
-    fprintf(stderr, "Couldn't GC any strings, exiting.\n");
     return 0;
   }
 
   /* Fixup all references: */
   fixup_strings_in_dynsym(dynsym);
   fixup_strings_in_dynamic(dynamic);
   if (ver_d && (read_word(ver_d->sh_link) == dynstr_index))
     fixup_strings_in_ver_d(ver_d);