* coffcode.h (coff_new_section_hook): Don't use align_power_min;
authorIan Lance Taylor <ian@airs.com>
Tue, 4 Oct 1994 21:13:51 +0000 (21:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 4 Oct 1994 21:13:51 +0000 (21:13 +0000)
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.

bfd/ChangeLog
bfd/coff-a29k.c

index e19f754..4cdedc1 100644 (file)
@@ -1,5 +1,15 @@
 Tue Oct  4 11:23:12 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
 
+       * 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
index 8e6f11d..7eeb6bd 100644 (file)
@@ -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) \