Don't define RISC-V .p2align
authorAndrew Waterman <andrew@sifive.com>
Mon, 19 Dec 2016 06:53:51 +0000 (22:53 -0800)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Dec 2016 01:56:34 +0000 (12:26 +1030)
commitd115ab8eee9bb3e13aae86698a4fd91e0ed284e9
tree2bafebe38f0795731928a456d08d68d21286c72b
parent2922d21da14b4711872371abacb16e8ab7c70894
Don't define RISC-V .p2align

* config/tc-riscv.c (riscv_pseudo_table): Remove "align",
"p2align", and "balign".
(s_align): Remove.
(riscv_handle_align): New function.
(riscv_frag_align_code): Likewise.
(riscv_make_nops): Likewise.
* config/tc-riscv.h (MAX_MEM_FOR_RS_ALIGN_CODE): Change to 7.
(HANDLE_ALIGN): Define.
(md_do_align): Define.
(riscv_handle_align): Declare.
(riscv_frag_align_code): Likewise.
gas/ChangeLog
gas/config/tc-riscv.c
gas/config/tc-riscv.h