diff options
author | Alan Modra <amodra@gmail.com> | 2001-08-18 14:54:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-08-18 14:54:26 +0000 |
commit | b3327aadfd3c7e294aa72b5f772326499b8eed9c (patch) | |
tree | 511773070edd3ec4f0ecb629d7a164f84a5e211a /ld/ldlang.h | |
parent | ceb160c895751b7115e070d94463067c1667368a (diff) | |
download | gdb-b3327aadfd3c7e294aa72b5f772326499b8eed9c.zip gdb-b3327aadfd3c7e294aa72b5f772326499b8eed9c.tar.gz gdb-b3327aadfd3c7e294aa72b5f772326499b8eed9c.tar.bz2 |
* ldlang.c (insert_pad): Make use of an existing pad statement if
available. Move code calculating alignment, adjusting section
alignment power, and adjusting dot to ..
(size_input_section): .. here. Remove unused relax param.
(lang_size_sections): Change boolean `relax' param to boolean *.
Adjust call to size_input_section. Make use of insert_pad to
place pad after the assignment statement. If relaxing, zap
padding statements.
(reset_memory_regions): Reset output_bfd section sizes too.
(relax_again): Move to..
(lang_process): ..here. Adjust call to lang_size_sections, and
remove duplicated code.
* ldlang.h (lang_size_sections): Change `relax' param to boolean *.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r-- | ld/ldlang.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h index aa05254..28d236c 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -441,7 +441,7 @@ extern bfd_vma lang_size_sections PARAMS ((lang_statement_union_type *s, lang_output_section_statement_type *output_section_statement, lang_statement_union_type **prev, fill_type fill, - bfd_vma dot, boolean relax)); + bfd_vma dot, boolean *relax)); extern void lang_enter_group PARAMS ((void)); extern void lang_leave_group PARAMS ((void)); extern void lang_add_section |