Accept and ignore the R_BPF_64_NODLYD32 relocation.
[binutils-gdb.git] / gdb / symfile-add-flags.h
blobf18df4e4f606715140e09545ab577ef06f4448e6
1 /* Definition of symfile add flags.
3 Copyright (C) 1990-2023 Free Software Foundation, Inc.
5 This file is part of GDB.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 #if !defined (SYMFILE_ADD_FLAGS_H)
21 #define SYMFILE_ADD_FLAGS_H
23 #include "gdbsupport/enum-flags.h"
25 /* This enum encodes bit-flags passed as ADD_FLAGS parameter to
26 symbol_file_add, etc. Defined in a separate file to break circular
27 header dependencies. */
29 enum symfile_add_flag : unsigned
31 /* Be chatty about what you are doing. */
32 SYMFILE_VERBOSE = 1 << 1,
34 /* This is the main symbol file (as opposed to symbol file for
35 dynamically loaded code). */
36 SYMFILE_MAINLINE = 1 << 2,
38 /* Do not call breakpoint_re_set when adding this symbol file. */
39 SYMFILE_DEFER_BP_RESET = 1 << 3,
41 /* Do not immediately read symbols for this file. By default,
42 symbols are read when the objfile is created. */
43 SYMFILE_NO_READ = 1 << 4,
45 /* The new objfile should be marked OBJF_NOT_FILENAME. */
46 SYMFILE_NOT_FILENAME = 1 << 5,
48 /* If SYMFILE_VERBOSE (interpreted as from_tty) and SYMFILE_ALWAYS_CONFIRM,
49 always ask user to confirm loading the symbol file.
50 Without this flag, symbol_file_add_with_addrs asks a confirmation only
51 for a main symbol file replacing a file having symbols. */
52 SYMFILE_ALWAYS_CONFIRM = 1 << 6,
55 DEF_ENUM_FLAGS_TYPE (enum symfile_add_flag, symfile_add_flags);
57 #endif /* !defined(SYMFILE_ADD_FLAGS_H) */