From dd6e1fd00c4beabde75a9a71e1a4f86959e1c337 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 12 Feb 2001 00:23:37 +0000 Subject: [PATCH] 2001-02-11 H.J. Lu * elflink.h (elf_bfd_final_link): Use file_align for STMTAB alignment. --- bfd/ChangeLog | 5 +++++ bfd/elflink.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a96c3dac0..f9cc7a8b2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-02-11 H.J. Lu + + * elflink.h (elf_bfd_final_link): Use file_align for STMTAB + alignment. + 2001-02-11 Maciej W. Rozycki * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch diff --git a/bfd/elflink.h b/bfd/elflink.h index 9464ff2e1..5cbbcbbe6 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -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); -- 2.11.4.GIT