summaryrefslogtreecommitdiffstats
path: root/binutils-2.25
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@arm.com>2015-03-04 12:21:02 +0000
committerAndrew Hsieh <andrewhsieh@google.com>2015-03-30 21:23:24 -0700
commit4762995c464546d4f6292ba4f52704ef1e67eee4 (patch)
tree83450a09a66104ecbb9ffad08a05b485a8337147 /binutils-2.25
parente20a4f0299d03097bbf2b05331825901ff9681a0 (diff)
downloadtoolchain_binutils-4762995c464546d4f6292ba4f52704ef1e67eee4.zip
toolchain_binutils-4762995c464546d4f6292ba4f52704ef1e67eee4.tar.gz
toolchain_binutils-4762995c464546d4f6292ba4f52704ef1e67eee4.tar.bz2
[AArch64] Removing unused functions.
Removing a group of unused functions from the AArch64 BFD backend. Change-Id: I9dc2a43084f21ee2771d26d32e1a26692018bb5c
Diffstat (limited to 'binutils-2.25')
-rw-r--r--binutils-2.25/bfd/elfxx-aarch64.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/binutils-2.25/bfd/elfxx-aarch64.c b/binutils-2.25/bfd/elfxx-aarch64.c
index 6ae4adf..c10f6c7 100644
--- a/binutils-2.25/bfd/elfxx-aarch64.c
+++ b/binutils-2.25/bfd/elfxx-aarch64.c
@@ -25,48 +25,6 @@
#define MASK(n) ((1u << (n)) - 1)
-/* Decode the 26-bit offset of unconditional branch. */
-static inline uint32_t
-decode_branch_ofs_26 (uint32_t insn)
-{
- return insn & MASK (26);
-}
-
-/* Decode the 19-bit offset of conditional branch and compare & branch. */
-static inline uint32_t
-decode_cond_branch_ofs_19 (uint32_t insn)
-{
- return (insn >> 5) & MASK (19);
-}
-
-/* Decode the 19-bit offset of load literal. */
-static inline uint32_t
-decode_ld_lit_ofs_19 (uint32_t insn)
-{
- return (insn >> 5) & MASK (19);
-}
-
-/* Decode the 14-bit offset of test & branch. */
-static inline uint32_t
-decode_tst_branch_ofs_14 (uint32_t insn)
-{
- return (insn >> 5) & MASK (14);
-}
-
-/* Decode the 16-bit imm of move wide. */
-static inline uint32_t
-decode_movw_imm (uint32_t insn)
-{
- return (insn >> 5) & MASK (16);
-}
-
-/* Decode the 12-bit imm of add immediate. */
-static inline uint32_t
-decode_add_imm (uint32_t insn)
-{
- return (insn >> 10) & MASK (12);
-}
-
/* Reencode the imm field of add immediate. */
static inline uint32_t
reencode_add_imm (uint32_t insn, uint32_t imm)