aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-13 02:08:26 +0000
committerAlan Modra <amodra@gmail.com>2002-08-13 02:08:26 +0000
commitc553bb910d30224f6d5e1e10a67a839093e97fa0 (patch)
tree52c723c7b8b604e0ecff9ffe0ca914faf69e074f /ld/ldexp.h
parent8e7157081c0a1cee57d160591c2c50f9e0c145e3 (diff)
downloadgdb-c553bb910d30224f6d5e1e10a67a839093e97fa0.zip
gdb-c553bb910d30224f6d5e1e10a67a839093e97fa0.tar.gz
gdb-c553bb910d30224f6d5e1e10a67a839093e97fa0.tar.bz2
* 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 edf335d..3f3508e 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