From: Ian Lance Taylor Date: Tue, 4 Oct 1994 21:13:51 +0000 (+0000) Subject: * coffcode.h (coff_new_section_hook): Don't use align_power_min; X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28d19d032168f104b3e1ff2c6c319c1af434f139;p=binutils-gdb.git * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e19f7547065..4cdedc1eb53 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,15 @@ Tue Oct 4 11:23:12 1994 Ian Lance Taylor + * 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. + * configure.in: Use ${config_shell} when running config.bfd. * cofflink.c (coff_link_input_bfd): Don't try to convert a long diff --git a/bfd/coff-a29k.c b/bfd/coff-a29k.c index 8e6f11dd32e..7eeb6bd21b2 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) \