2001-02-11 H.J. Lu <hjl@gnu.org>

* elflink.h (elf_bfd_final_link): Use file_align for STMTAB
	alignment.
This commit is contained in:
H.J. Lu 2001-02-12 00:23:37 +00:00
parent 9a580d9af6
commit f0e1d18ad3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-02-11 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_bfd_final_link): Use file_align for STMTAB
alignment.
2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch

View file

@ -4435,7 +4435,7 @@ elf_bfd_final_link (abfd, info)
/* sh_link is set in assign_section_numbers. */
/* sh_info is set below. */
/* sh_offset is set just below. */
symtab_hdr->sh_addralign = 4; /* FIXME: system dependent? */
symtab_hdr->sh_addralign = bed->s->file_align;
off = elf_tdata (abfd)->next_file_pos;
off = _bfd_elf_assign_file_position_for_section (symtab_hdr, off, true);