diff options
author | Marcus Shawcroft <marcus.shawcroft@gmail.com> | 2015-03-22 07:57:18 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-03-23 14:46:04 +0000 |
commit | e2cdef47b753f599cd1eaefdb4aea1d5d3b6a0e4 (patch) | |
tree | 711c880bb65ddca644ecaecce821756a09186a16 | |
parent | 3d14faea41888606f41466655aa1f0c6f0acf7e0 (diff) | |
download | gdb-e2cdef47b753f599cd1eaefdb4aea1d5d3b6a0e4.zip gdb-e2cdef47b753f599cd1eaefdb4aea1d5d3b6a0e4.tar.gz gdb-e2cdef47b753f599cd1eaefdb4aea1d5d3b6a0e4.tar.bz2 |
Remove dead code.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elfnn-aarch64.c | 16 |
2 files changed, 6 insertions, 16 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7694d62..efe94e8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com> + * elfnn-aarch64.c (aarch64_erratum_835769_fixes) + (num_aarch64_erratum_835769_fixes): Remove. + (elfNN_aarch64_size_stubs): Remove assignments to above. + +2015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com> + (aarch64_mem_op_p): Update comment. Rename rtn to rt2. (aarch64_erratum_seqeunce): Rename rtn to rt2. diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index 2073ed4..5d47f8e 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -1847,12 +1847,6 @@ struct elf_aarch64_link_hash_table /* Fix erratum 835769. */ int fix_erratum_835769; - /* A table of fix locations for erratum 835769. This holds erratum - fix locations between elfNN_aarch64_size_stubs() and - elfNN_aarch64_write_section(). */ - struct aarch64_erratum_835769_fix *aarch64_erratum_835769_fixes; - unsigned int num_aarch64_erratum_835769_fixes; - /* The number of bytes in the initial entry in the PLT. */ bfd_size_type plt_header_size; @@ -3533,16 +3527,6 @@ elfNN_aarch64_size_stubs (bfd *output_bfd, stub_entry->veneered_insn = erratum_835769_fixes[i].veneered_insn; stub_entry->output_name = erratum_835769_fixes[i].stub_name; } - - /* Stash the erratum 835769 fix array for use later in - elfNN_aarch64_write_section(). */ - htab->aarch64_erratum_835769_fixes = erratum_835769_fixes; - htab->num_aarch64_erratum_835769_fixes = num_erratum_835769_fixes; - } - else - { - htab->aarch64_erratum_835769_fixes = NULL; - htab->num_aarch64_erratum_835769_fixes = 0; } return TRUE; |