summaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-02-12 00:23:37 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-02-12 00:23:37 +0000
commitf0e1d18ad39ba877a6677895e02b5a3ff9c9bf04 (patch)
treebb86f7787174dacb042631d94a73bb8b663470d1 /bfd/elflink.h
parent9a580d9af6169d6b6e9f90abe70bebb26e912bb3 (diff)
downloadbinutils-gdb-f0e1d18ad39ba877a6677895e02b5a3ff9c9bf04.tar.gz
2001-02-11 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_bfd_final_link): Use file_align for STMTAB alignment.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 9464ff2e106..5cbbcbbe6c9 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);