Fix: nm: SEGV at bfd/elf.c:2267 in _bfd_elf_get_dynamic_symbols
[binutils-gdb.git] / gas / config / loongarch-lex.h
blob3cb077c46599c771adb0a1a61a591cb3f41eee2e
1 /*
2 Copyright (C) 2021-2023 Free Software Foundation, Inc.
4 This file is part of GAS, the GNU Assembler.
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 GAS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; see the file COPYING3. If not,
18 see <http://www.gnu.org/licenses/>. */
21 struct yy_buffer_state;
24 struct yy_buffer_state *yy_scan_string (const char *);
25 void yy_delete_buffer (struct yy_buffer_state *b);
26 void get_internal_label (expressionS *label_expr,
27 unsigned long label,
28 int augend);
29 int
30 loongarch_parse_expr (const char *expr,
31 struct reloc_info *reloc_stack_top,
32 size_t max_reloc_num,
33 size_t *reloc_num,
34 offsetT *imm);
35 bfd_reloc_code_real_type
36 loongarch_larch_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
37 const char *l_r_name);