summaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-08-18 14:54:26 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-08-18 14:54:26 +0000
commitc13aacb7e227398fab25ad377bcc6dcd51a8ba2e (patch)
tree100d61b5e3d05b018a77ac8cccc294b331036354 /ld/ldlang.h
parent39ec8f7e6c4118e89f1b50cb4d8da9c1120e9107 (diff)
downloadbinutils-redhat-c13aacb7e227398fab25ad377bcc6dcd51a8ba2e.tar.gz
* 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 aa05254c87..28d236c244 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