]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/ldemul.h
Unify the behaviour of ld.bfd and ld.gold with respect to warning about unresolved...
[thirdparty/binutils-gdb.git] / ld / ldemul.h
index bde74dfa9a1640c3043dc1df3e51eec98fb68e71..44e3a92aa7ef26436d71aa3dc6145ab8469e9d54 100644 (file)
@@ -36,6 +36,8 @@ extern void ldemul_after_open
   (void);
 extern void ldemul_after_check_relocs
   (void);
+extern void ldemul_before_place_orphans
+  (void);
 extern void ldemul_after_allocation
   (void);
 extern void ldemul_before_allocation
@@ -80,6 +82,8 @@ extern void after_open_default
   (void);
 extern void after_check_relocs_default
   (void);
+extern void before_place_orphans_default
+  (void);
 extern void after_allocation_default
   (void);
 extern void before_allocation_default
@@ -129,6 +133,9 @@ typedef struct ld_emulation_xfer_struct {
   /* Run after checking relocations.  */
   void   (*after_check_relocs)  (void);
 
+  /* Run before placing orphans.  */
+  void   (*before_place_orphans)  (void);
+
   /* Run after allocating output sections.  */
   void   (*after_allocation)  (void);