summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/ld/ldemul.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/ld/ldemul.h')
-rw-r--r--contrib/binutils/ld/ldemul.h24
1 files changed, 9 insertions, 15 deletions
diff --git a/contrib/binutils/ld/ldemul.h b/contrib/binutils/ld/ldemul.h
index b2d9103..224dab5 100644
--- a/contrib/binutils/ld/ldemul.h
+++ b/contrib/binutils/ld/ldemul.h
@@ -1,5 +1,6 @@
/* ld-emul.h - Linker emulation header file
- Copyright 1991, 92, 93, 94, 95, 96, 97, 1998, 2000 Free Software Foundation, Inc.
+ Copyright 1991, 92, 93, 94, 95, 96, 97, 1998, 2000
+ Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
@@ -16,11 +17,6 @@
#ifndef LDEMUL_H
#define LDEMUL_H
-#if ANSI_PROTOTYPES
-struct lang_input_statement_struct;
-struct search_dirs;
-#endif
-
extern void ldemul_hll PARAMS ((char *));
extern void ldemul_syslib PARAMS ((char *));
extern void ldemul_after_parse PARAMS ((void));
@@ -58,8 +54,7 @@ extern void hll_default PARAMS ((char*));
extern int ldemul_find_potential_libraries
PARAMS ((char *, struct lang_input_statement_struct *));
-typedef struct ld_emulation_xfer_struct
-{
+typedef struct ld_emulation_xfer_struct {
/* Run before parsing the command line and script file.
Set the architecture, maybe other things. */
void (*before_parse) PARAMS ((void));
@@ -116,12 +111,12 @@ typedef struct ld_emulation_xfer_struct
boolean (*place_orphan)
PARAMS ((struct lang_input_statement_struct *, asection *));
- /* Run after assigning parsing with the args, but before
- reading the script. Used to initialize symbols used in the script. */
+ /* Run after assigning parsing with the args, but before
+ reading the script. Used to initialize symbols used in the script. */
void (*set_symbols) PARAMS ((void));
/* Run to parse args which the base linker doesn't
- understand. Return non zero on sucess. */
+ understand. Return non zero on sucess. */
int (*parse_args) PARAMS ((int, char **));
/* Run to handle files which are not recognized as object files or
@@ -143,13 +138,12 @@ typedef struct ld_emulation_xfer_struct
(For VMS files matching ":lib*.a" have also been scanned). */
int (* find_potential_libraries)
PARAMS ((char *, struct lang_input_statement_struct *));
-
+
} ld_emulation_xfer_type;
-typedef enum
-{
+typedef enum {
intel_ic960_ld_mode_enum,
- default_mode_enum ,
+ default_mode_enum,
intel_gld960_ld_mode_enum
} lang_emulation_mode_enum_type;
OpenPOWER on IntegriCloud