aboutsummaryrefslogtreecommitdiff
path: root/ld/ldemul.c
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.c
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.c')
-rw-r--r--ld/ldemul.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/ld/ldemul.c b/ld/ldemul.c
index 44c8c3e..6b96204 100644
--- a/ld/ldemul.c
+++ b/ld/ldemul.c
@@ -169,15 +169,20 @@ ldemul_recognized_file (entry)
}
char *
-ldemul_choose_target ()
+ldemul_choose_target (argc, argv)
+ int argc;
+ char **argv;
{
- return ld_emulation->choose_target ();
+ return ld_emulation->choose_target (argc, argv);
}
+
/* The default choose_target function. */
char *
-ldemul_default_target ()
+ldemul_default_target (argc, argv)
+ int argc ATTRIBUTE_UNUSED;
+ char **argv ATTRIBUTE_UNUSED;
{
char *from_outside = getenv (TARGET_ENVIRON);
if (from_outside != (char *) NULL)