summaryrefslogtreecommitdiff
path: root/ld/ldexp.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-08-13 02:08:26 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-08-13 02:08:26 +0000
commit8c1c5a6b50471f3e4c9d6ca15c60f629ef0b4e6b (patch)
tree2111065da838dc996bd36f6142d39495ee59ec0a /ld/ldexp.h
parent10554d84c5c207409fba10e5041fe887609b7d96 (diff)
downloadbinutils-redhat-8c1c5a6b50471f3e4c9d6ca15c60f629ef0b4e6b.tar.gz
* emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
(MAXPAGESIZE): Set to 1. * ld.h (ALIGN_N): Delete. * ldexp.h (align_n): Declare. * ldexp.c (align_n): New function. (fold_binary): Use align_n instead of ALIGN_N. (exp_fold_tree): Likewise. * ldlang.c (lang_size_sections_1): Likewise. (lang_one_common): Likewise.
Diffstat (limited to 'ld/ldexp.h')
-rw-r--r--ld/ldexp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldexp.h b/ld/ldexp.h
index edf335d763..3f3508edb6 100644
--- a/ld/ldexp.h
+++ b/ld/ldexp.h
@@ -122,5 +122,6 @@ int exp_get_value_int PARAMS ((etree_type *, int, char *, lang_phase_type));
fill_type *exp_get_fill PARAMS ((etree_type *, fill_type *, char *,
lang_phase_type));
bfd_vma exp_get_abs_int PARAMS ((etree_type *, int, char *, lang_phase_type));
+bfd_vma align_n PARAMS ((bfd_vma, bfd_vma));
#endif