Tue Jan 23 14:22:45 1996 Ian Lance Taylor <ian@cygnus.com>
+ * coffcode.h (coff_new_section_hook): Don't try to align the
+ .stabstr section.
+
* coffcode.h (coff_set_section_contents): Fix the handling of the
.lib section to work even if the entire section contents are
written at once. From Gvran Uddeborg <gvran@uddeborg.pp.se> and
|| strcmp (section->name, ".dtors") == 0))
section->alignment_power = 2;
+ /* Similarly, the .stabstr section must be aligned to 2**0 at most. */
+ if (COFF_DEFAULT_SECTION_ALIGNMENT_POWER > 0
+ && strncmp (section->name, ".stabstr", 8) == 0)
+ section->alignment_power = 0;
+
return true;
}