diff options
author | Alan Modra <amodra@gmail.com> | 2002-08-13 02:08:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-08-13 02:08:26 +0000 |
commit | c553bb910d30224f6d5e1e10a67a839093e97fa0 (patch) | |
tree | 52c723c7b8b604e0ecff9ffe0ca914faf69e074f /ld/ld.h | |
parent | 8e7157081c0a1cee57d160591c2c50f9e0c145e3 (diff) | |
download | gdb-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.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; |