diff options
author | Jan Beulich <jbeulich@suse.com> | 2025-07-04 10:42:18 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2025-07-04 10:42:18 +0200 |
commit | 42c97689a5ca209a0a974a44f82998b9b36c2b50 (patch) | |
tree | b0774da53bf6ffaa84f5a07e05dc762482037e2d /gas/write.c | |
parent | 7b40f4c6587c04794d08e805eb17c61c629ab662 (diff) | |
download | gdb-42c97689a5ca209a0a974a44f82998b9b36c2b50.zip gdb-42c97689a5ca209a0a974a44f82998b9b36c2b50.tar.gz gdb-42c97689a5ca209a0a974a44f82998b9b36c2b50.tar.bz2 |
gas: introduce .errif and .warnif
Rather than having people resort to indirect means to issue a certain
kind of diagnostic conditionally upon an expression which can (or
should) only be evaluated when all sections were sized and all symbols
had their final values established, provide directives to directly
achieve this.
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/write.c b/gas/write.c index 8ccd996..4d95d76 100644 --- a/gas/write.c +++ b/gas/write.c @@ -2321,6 +2321,8 @@ write_object_file (void) resolve_local_symbol_values (); resolve_reloc_expr_symbols (); + evaluate_deferred_diags (); + #ifdef OBJ_ELF if (IS_ELF) maybe_generate_build_notes (); |