From 7781c06f6e735e92fcf597c578540c2f925a9f05 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 30 Sep 2015 16:01:47 +0100 Subject: [PATCH] Shorten long lines in linux-aarch64-low.c Happen to see these lines are too long. This patch shortens them. gdb/gdbserver: 2015-09-30 Yao Qi * linux-aarch64-low.c (emit_movk): Shorten a long line. (emit_load_store_pair): Likewise. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/linux-aarch64-low.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 95e370cfd6..b6318941f2 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2015-09-30 Yao Qi + + * linux-aarch64-low.c (emit_movk): Shorten a long line. + (emit_load_store_pair): Likewise. + 2015-09-25 Simon Marchi * dll.c (match_dll): Add cast(s). diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c index bc9a5c703e..5592e619bb 100644 --- a/gdb/gdbserver/linux-aarch64-low.c +++ b/gdb/gdbserver/linux-aarch64-low.c @@ -1083,7 +1083,8 @@ emit_load_store_pair (uint32_t *buf, enum aarch64_opcodes opcode, } return emit_insn (buf, opcode | opc | pre_index | write_back - | ENCODE (operand.index >> 3, 7, 15) | ENCODE (rt2.num, 5, 10) + | ENCODE (operand.index >> 3, 7, 15) + | ENCODE (rt2.num, 5, 10) | ENCODE (rn.num, 5, 5) | ENCODE (rt.num, 5, 0)); } @@ -1490,7 +1491,8 @@ emit_mov (uint32_t *buf, struct aarch64_register rd, SHIFT is the logical shift left to apply to IMM. */ static int -emit_movk (uint32_t *buf, struct aarch64_register rd, uint32_t imm, unsigned shift) +emit_movk (uint32_t *buf, struct aarch64_register rd, uint32_t imm, + unsigned shift) { uint32_t size = ENCODE (rd.is64, 1, 31); -- 2.34.1