diff options
author | Richard Henderson <rth@redhat.com> | 2007-04-10 18:00:26 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2007-04-10 18:00:26 +0000 |
commit | 4a828aab99fb02f80d97ebf005eb3daf933a37a3 (patch) | |
tree | ff1af32241e40480fd52822c3bee44185264d9e5 /include/bfdlink.h | |
parent | a489f7899482002eac7956dfcd923dc0688b6ac0 (diff) | |
download | gdb-4a828aab99fb02f80d97ebf005eb3daf933a37a3.zip gdb-4a828aab99fb02f80d97ebf005eb3daf933a37a3.tar.gz gdb-4a828aab99fb02f80d97ebf005eb3daf933a37a3.tar.bz2 |
bfd/
* 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.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r-- | include/bfdlink.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h index 46e3cf5..39f4845 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -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. */ |