ARC: Recognize mov_s fp,sp instruction in prologue

Most simple prologue must have two instructions:

	push fp ; disassembled as st.a fp,[sp,-4]
	mov fp,sp

For ISA v2 "mov" (major opcode 0x04) in prologue is replaced by "mov_s"
(major opcode 0x08). With this patch GDB can properly skip prologue in
applications for ARC v2. Compatibility with ARC v1 is retained.

Signed-off-by: Anton Kolesov <akolesov@synopsys.com>
(cherry picked from commit eec317240b56eaf698a1332b51b1b99c53fc2cf9)
ARC: Fix reading of GP regs from core dump

Correct order of registers in arc_linux_core_reg_offset and
arc_linux_sc_reg_offset to be the same as in gregs. Fix offsets to match
those in the user_regs_struct from linux headers

Signed-off-by: Anton Kolesov <akolesov@synopsys.com>
(cherry picked from commit ed1c28c8fa72c7c8240a1318e2fa3d83182a1f78)