gas/testsuite: properly exclude aout in all/weakref1u
[binutils-gdb.git] / ld / ldemul.h
index 1e0bdc07786daa4d8d97270455415637852cc267..16a3b6991bd63335503550fea4b079a1fff61c11 100644 (file)
@@ -1,5 +1,5 @@
 /* ld-emul.h - Linker emulation header file
-   Copyright (C) 1991-2021 Free Software Foundation, Inc.
+   Copyright (C) 1991-2022 Free Software Foundation, Inc.
 
    This file is part of the GNU Binutils.
 
@@ -32,6 +32,8 @@ extern void ldemul_after_parse
   (void);
 extern void ldemul_before_parse
   (void);
+extern void ldemul_before_plugin_all_symbols_read
+  (void);
 extern void ldemul_after_open
   (void);
 extern void ldemul_after_check_relocs
@@ -131,6 +133,9 @@ typedef struct ld_emulation_xfer_struct {
   /* Run after parsing the command line and script file.  */
   void   (*after_parse) (void);
 
+  /* Run before calling plugin 'all symbols read' hook.  */
+  void   (*before_plugin_all_symbols_read)  (void);
+
   /* Run after opening all input files, and loading the symbols.  */
   void   (*after_open) (void);