aboutsummaryrefslogtreecommitdiff
path: root/ld/ldemul.h
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2001-12-03 23:15:28 +0000
committerTom Rix <trix@redhat.com>2001-12-03 23:15:28 +0000
commit742aeb63e9f0088cb5f2764d04304a7a04aa344d (patch)
tree3b6c2844d3d3ab749c36f6274f45335cecad054f /ld/ldemul.h
parentb61fdd7ef5a7f6af382daa3479b150ce5018ac42 (diff)
downloadgdb-742aeb63e9f0088cb5f2764d04304a7a04aa344d.zip
gdb-742aeb63e9f0088cb5f2764d04304a7a04aa344d.tar.gz
gdb-742aeb63e9f0088cb5f2764d04304a7a04aa344d.tar.bz2
Pass argc and argv to ldemul_choose_target.
Support -b64 in AIX
Diffstat (limited to 'ld/ldemul.h')
-rw-r--r--ld/ldemul.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/ldemul.h b/ld/ldemul.h
index 423a9d9..c49961c 100644
--- a/ld/ldemul.h
+++ b/ld/ldemul.h
@@ -25,7 +25,7 @@ extern void ldemul_after_open PARAMS ((void));
extern void ldemul_after_allocation PARAMS ((void));
extern void ldemul_before_allocation PARAMS ((void));
extern void ldemul_set_output_arch PARAMS ((void));
-extern char *ldemul_choose_target PARAMS ((void));
+extern char *ldemul_choose_target PARAMS ((int, char**));
extern void ldemul_choose_mode PARAMS ((char *));
extern void ldemul_list_emulations PARAMS ((FILE *));
extern void ldemul_list_emulation_options PARAMS ((FILE *));
@@ -43,7 +43,7 @@ extern boolean ldemul_recognized_file
extern boolean ldemul_open_dynamic_archive
PARAMS ((const char *, struct search_dirs *,
struct lang_input_statement_struct *));
-extern char *ldemul_default_target PARAMS ((void));
+extern char *ldemul_default_target PARAMS ((int, char**));
extern void after_parse_default PARAMS ((void));
extern void after_open_default PARAMS ((void));
extern void after_allocation_default PARAMS ((void));
@@ -78,7 +78,7 @@ typedef struct ld_emulation_xfer_struct {
void (*set_output_arch) PARAMS ((void));
/* Decide which target name to use. */
- char * (*choose_target) PARAMS ((void));
+ char * (*choose_target) PARAMS ((int, char**));
/* Run before allocating output sections. */
void (*before_allocation) PARAMS ((void));