aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-a29k.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-10-04 21:13:51 +0000
committerIan Lance Taylor <ian@airs.com>1994-10-04 21:13:51 +0000
commit28d19d032168f104b3e1ff2c6c319c1af434f139 (patch)
tree782839b5e8c3e02f1d08508b64988d5e4bdab60e /bfd/coff-a29k.c
parent995b0d3ff38cdf6442bf907f4824f45c21015493 (diff)
downloadgdb-28d19d032168f104b3e1ff2c6c319c1af434f139.zip
gdb-28d19d032168f104b3e1ff2c6c319c1af434f139.tar.gz
gdb-28d19d032168f104b3e1ff2c6c319c1af434f139.tar.bz2
* coffcode.h (coff_new_section_hook): Don't use align_power_min;
use COFF_DEFAULT_SECTION_ALIGNMENT_POWER instead. Force the .stab and .stabstr sections to be aligned to no more than 2. Remove COFF_SPARC special cases. * coff-a29k.c: Define COFF_DEFAULT_SECTION_ALIGNMENT_POWER. * coff-apollo.c, coff-go32.c, coff-h8300.c: Likewise. * coff-h8500.c, coff-i386.c, coff-i960.c, coff-m68k.c: Likewise. * coff-m88k.c, coff-rs6000.c, coff-sh.c, coff-sparc.c: Likewise. * coff-we32k.c, coff-z8k.c: Likewise. PR 5706.
Diffstat (limited to 'bfd/coff-a29k.c')
-rw-r--r--bfd/coff-a29k.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/coff-a29k.c b/bfd/coff-a29k.c
index 8e6f11d..7eeb6bd 100644
--- a/bfd/coff-a29k.c
+++ b/bfd/coff-a29k.c
@@ -35,6 +35,8 @@ static boolean coff_a29k_relocate_section
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
struct internal_reloc *, struct internal_syment *, asection **));
+#define COFF_DEFAULT_SECTION_ALIGNMENT_POWER (2)
+
#define INSERT_HWORD(WORD,HWORD) \
(((WORD) & 0xff00ff00) | (((HWORD) & 0xff00) << 8) | ((HWORD)& 0xff))
#define EXTRACT_HWORD(WORD) \