|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug binutils/19713] bfd/elflink.c does not handle octets_per_byte properly, line 11412 |
Date: | Fri, 11 Mar 2016 09:18:39 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19713 --- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nick Clifton <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=37b01f6a13f21f274bf9758ecbf5d9efd6153444 commit 37b01f6a13f21f274bf9758ecbf5d9efd6153444 Author: Dan Gissel <address@hidden> Date: Fri Mar 11 09:17:28 2016 +0000 Fix some places where octet to byte conversions are needed. PR 19713 * elf.c (_bfd_elf_section_offset): Ensure that the returned offset uses bytes not octets. * elflink.c (resolve_section): Likewise. Add a bfd parameter. (eval_section): Pass the input_bfd to resolve_section. (bfd_elf_perform_complex_relocation): Convert byte offset to octets before read and writing values. (elf_link_input_bfd): Add byte to octet conversions. (elf_reloc_link_order): Likewise. (elf_fixup_link_order): Likewise. (bfd_elf_final_link): Likewise. * reloc.c (_bfd_final_link_relocate): Likewise. * syms.c (_bfd_stab_section_find_nearest_line): Likewise. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |