]> sourceware.org Git - newlib-cygwin.git/commitdiff
bfd/
authorRichard Henderson <rth@redhat.com>
Tue, 10 Apr 2007 18:00:25 +0000 (18:00 +0000)
committerRichard Henderson <rth@redhat.com>
Tue, 10 Apr 2007 18:00:25 +0000 (18:00 +0000)
        * elf64-alpha.c (struct alpha_elf_link_hash_table): Add relax_trip.
        (elf64_alpha_size_got_sections): Remove unused something_changed local.
        (elf64_alpha_size_plt_section): Return void.
        (elf64_alpha_size_rela_got_section): Likewise.
        (elf64_alpha_relax_section): Only regenerate got+plt if the
        relax_trip counter has changed.
include/
        * bfdlink.h (struct bfd_link_info): Add relax_trip.
ld/
        * ldlang.c (relax_sections): Initialize and increment
        link_info.relax_trip.

include/ChangeLog
include/bfdlink.h

index 269409ca630ce0450cd36385d74569ed36f704f9..bdf92bbcb6a5ada1ee9847dbde24fb5bcdaafeda 100644 (file)
@@ -1,3 +1,7 @@
+2007-04-10  Richard Henderson  <rth@redhat.com>
+
+       * bfdlink.h (struct bfd_link_info): Add relax_trip.
+
 2007-03-29  Joel Brobecker  <brobecker@adacore.com>
 
        * filenames.h (FILENAME_CMP): Adjust define to call filename_cmp
index 46e3cf5c54665b82cbc01cd8e454f751298aa82d..39f484582d1517842b88acbbaa32ea5e27fbf99e 100644 (file)
@@ -424,6 +424,11 @@ struct bfd_link_info
      current pass, starting from 0.  */
   int relax_pass;
 
+  /* Number of relaxation trips.  This number is incremented every
+     time the relaxation pass is restarted due to a previous
+     relaxation returning true in *AGAIN.  */
+  int relax_trip;
+
   /* Non-zero if auto-import thunks for DATA items in pei386 DLLs
      should be generated/linked against.  Set to 1 if this feature
      is explicitly requested by the user, -1 if enabled by default.  */
This page took 0.035101 seconds and 5 git commands to generate.