projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce generic command options framework
[deliverable/binutils-gdb.git]
/
ld
/
ldemul.h
diff --git
a/ld/ldemul.h
b/ld/ldemul.h
index 890107fc68cad99de8e83cb5ba845e00d753a7c4..5b6549f837b942a5ddf28bd52e0164817e7962d5 100644
(file)
--- a/
ld/ldemul.h
+++ b/
ld/ldemul.h
@@
-1,7
+1,5
@@
/* ld-emul.h - Linker emulation header file
/* ld-emul.h - Linker emulation header file
- Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001,
- 2002, 2003, 2004, 2005, 2007, 2008
- Free Software Foundation, Inc.
+ Copyright (C) 1991-2019 Free Software Foundation, Inc.
This file is part of the GNU Binutils.
This file is part of the GNU Binutils.
@@
-36,6
+34,8
@@
extern void ldemul_before_parse
(void);
extern void ldemul_after_open
(void);
(void);
extern void ldemul_after_open
(void);
+extern void ldemul_after_check_relocs
+ (void);
extern void ldemul_after_allocation
(void);
extern void ldemul_before_allocation
extern void ldemul_after_allocation
(void);
extern void ldemul_before_allocation
@@
-78,6
+78,8
@@
extern void after_parse_default
(void);
extern void after_open_default
(void);
(void);
extern void after_open_default
(void);
+extern void after_check_relocs_default
+ (void);
extern void after_allocation_default
(void);
extern void before_allocation_default
extern void after_allocation_default
(void);
extern void before_allocation_default
@@
-96,6
+98,8
@@
extern int ldemul_find_potential_libraries
(char *, struct lang_input_statement_struct *);
extern struct bfd_elf_version_expr *ldemul_new_vers_pattern
(struct bfd_elf_version_expr *);
(char *, struct lang_input_statement_struct *);
extern struct bfd_elf_version_expr *ldemul_new_vers_pattern
(struct bfd_elf_version_expr *);
+extern void ldemul_extra_map_file_text
+ (bfd *, struct bfd_link_info *, FILE *);
typedef struct ld_emulation_xfer_struct {
/* Run before parsing the command line and script file.
typedef struct ld_emulation_xfer_struct {
/* Run before parsing the command line and script file.
@@
-114,6
+118,9
@@
typedef struct ld_emulation_xfer_struct {
/* Run after opening all input files, and loading the symbols. */
void (*after_open) (void);
/* Run after opening all input files, and loading the symbols. */
void (*after_open) (void);
+ /* Run after checking relocations. */
+ void (*after_check_relocs) (void);
+
/* Run after allocating output sections. */
void (*after_allocation) (void);
/* Run after allocating output sections. */
void (*after_allocation) (void);
@@
-196,6
+203,11
@@
typedef struct ld_emulation_xfer_struct {
struct bfd_elf_version_expr * (*new_vers_pattern)
(struct bfd_elf_version_expr *);
struct bfd_elf_version_expr * (*new_vers_pattern)
(struct bfd_elf_version_expr *);
+ /* Called when printing the map file, in case there are
+ emulation-specific sections for it. */
+ void (*extra_map_file_text)
+ (bfd *, struct bfd_link_info *, FILE *);
+
} ld_emulation_xfer_type;
typedef enum {
} ld_emulation_xfer_type;
typedef enum {
This page took
0.029554 seconds
and
4
git commands to generate.