aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-18 14:54:26 +0000
committerAlan Modra <amodra@gmail.com>2001-08-18 14:54:26 +0000
commitb3327aadfd3c7e294aa72b5f772326499b8eed9c (patch)
tree511773070edd3ec4f0ecb629d7a164f84a5e211a /ld/ldlang.h
parentceb160c895751b7115e070d94463067c1667368a (diff)
downloadgdb-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.h2
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