bfd/
[deliverable/binutils-gdb.git] / ld / ldemul.h
index 8feef6748c2d896850fa621f54de37cd77d6f28c..c3ba033ecb241afc6114bdf5eab34bf86fd56acd 100644 (file)
@@ -1,5 +1,6 @@
 /* ld-emul.h - Linker emulation header file
-   Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2002, 2003
+   Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001,
+   2002, 2003, 2004, 2005
    Free Software Foundation, Inc.
 
    This file is part of GLD, the Gnu Linker.
@@ -17,6 +18,9 @@
 #ifndef LDEMUL_H
 #define LDEMUL_H
 
+/* Forward declaration for ldemul_add_options() and others.  */
+struct option;
+
 extern void ldemul_hll
   (char *);
 extern void ldemul_syslib
@@ -31,6 +35,8 @@ extern void ldemul_after_allocation
   (void);
 extern void ldemul_before_allocation
   (void);
+extern void ldemul_do_assignments
+  (void);
 extern void ldemul_set_output_arch
   (void);
 extern char *ldemul_choose_target
@@ -73,6 +79,10 @@ extern void after_allocation_default
   (void);
 extern void before_allocation_default
   (void);
+extern void do_assignments_default
+  (void);
+extern void finish_default
+  (void);
 extern void set_output_arch_default
   (void);
 extern void syslib_default
@@ -113,6 +123,9 @@ typedef struct ld_emulation_xfer_struct {
   /* Run before allocating output sections.  */
   void   (*before_allocation) (void);
 
+  /* Run to set special symbols at the same time as link script syms.  */
+  void   (*do_assignments) (void);
+
   /* Return the appropriate linker script.  */
   char * (*get_script) (int *isfile);
 
This page took 0.023058 seconds and 4 git commands to generate.