X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ld%2Fld.h;h=1882a2820202200d4d371bb90194f5473f4f86f3;hb=496917ce466c703c1ae3bf1cbbe753de1c091445;hp=35fafebfaedcb2245f64d8c5fef2fbbf3bf66ea9;hpb=c774eab1c82f49f0f719fd7e51e5988c62082118;p=binutils-gdb.git diff --git a/ld/ld.h b/ld/ld.h index 35fafebfaed..1882a282020 100644 --- a/ld/ld.h +++ b/ld/ld.h @@ -1,5 +1,5 @@ /* ld.h -- general linker header file - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2023 Free Software Foundation, Inc. This file is part of the GNU Binutils. @@ -98,8 +98,9 @@ struct wildcard_spec { const char *name; struct name_list *exclude_name_list; - sort_type sorted; struct flag_info *section_flag_list; + size_t namelen, prefixlen, suffixlen; + sort_type sorted; }; struct wildcard_list @@ -252,9 +253,12 @@ typedef struct changes due to the alignment of an input section. */ bool warn_section_align; - /* If TRUE, warning messages are fatal */ + /* If TRUE, warning messages are fatal. */ bool fatal_warnings; + /* If TRUE, warning and error messages are ignored. */ + bool no_warnings; + sort_order sort_common; bool text_read_only; @@ -293,6 +297,9 @@ typedef struct /* If set, print discarded sections in map file output. */ bool print_map_discarded; + /* If set, print local symbols in map file output. */ + bool print_map_locals; + /* If set, emit the names and types of statically-linked variables into the CTF. */ bool ctf_variables; @@ -300,6 +307,9 @@ typedef struct /* If set, share only duplicated types in CTF, rather than sharing all types that are not in conflict. */ bool ctf_share_duplicated; + + /* Compress DWARF debug sections. */ + enum compressed_debug_section_type compress_debug; } ld_config_type; extern ld_config_type config;