aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.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/ld.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/ld.h')
-rw-r--r--ld/ld.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/ld/ld.h b/ld/ld.h
index 12f3f69..438e00d 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -91,14 +91,6 @@ typedef struct user_section_struct {
#define LONG_SIZE (4)
#define QUAD_SIZE (8)
-/* ALIGN macro changed to ALIGN_N to avoid */
-/* conflict in /usr/include/machine/machparam.h */
-/* WARNING: If THIS is a 64 bit address and BOUNDARY is a 32 bit int,
- you must coerce boundary to the same type as THIS.
- ??? Is there a portable way to avoid this. */
-#define ALIGN_N(this, boundary) \
- ((( (this) + ((boundary) -1)) & (~((boundary)-1))))
-
typedef struct {
/* 1 => assign space to common symbols even if `relocatable_output'. */
boolean force_common_definition;