X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=opcodes%2Fnds32-asm.c;h=f641c60f68c4378608f1b1fdaaa3ad1ab823e0d9;hb=0b3e14c90283c5d234884d0ebe8510bc3c9bc687;hp=f0dd3266f95f04a9c72a815c7667a2c3a4355699;hpb=fbaf61ad525eb2818598b699d44df32e46583925;p=binutils-gdb.git diff --git a/opcodes/nds32-asm.c b/opcodes/nds32-asm.c index f0dd3266f95..f641c60f68c 100644 --- a/opcodes/nds32-asm.c +++ b/opcodes/nds32-asm.c @@ -1,5 +1,5 @@ /* NDS32-specific support for 32-bit ELF. - Copyright (C) 2012-2018 Free Software Foundation, Inc. + Copyright (C) 2012-2021 Free Software Foundation, Inc. Contributed by Andes Technology Corporation. This file is part of BFD, the Binary File Descriptor library. @@ -2405,7 +2405,7 @@ parse_operand (nds32_asm_desc_t *pdesc, nds32_asm_insn_t *pinsn, abort (); } -done: + done: /* Don't silently discarding bits. */ if (value & __MASK (fld->shift)) { @@ -2533,7 +2533,7 @@ parse_insn (nds32_asm_desc_t *pdesc, nds32_asm_insn_t *pinsn, if (*plex == 0 && (*p == '\0' || *p == '!' || *p == '#')) return 1; -reject: + reject: /* If not accepted, try another combination. */ variant++; } @@ -2564,7 +2564,7 @@ nds32_assemble (nds32_asm_desc_t *pdesc, nds32_asm_insn_t *pinsn, *s++ = '\0'; dot = strchr (mnemoic, '.'); -retry_dot: + retry_dot: /* Lookup the opcode syntax. */ hash = htab_hash_string (mnemoic); opc = (struct nds32_opcode *) @@ -2615,6 +2615,6 @@ retry_dot: /* A matched opcode is found. Write the result to instruction buffer. */ pdesc->result = NASM_OK; -out: + out: free (str); }