Add a target argument.
2010-09-15 H.J. Lu <hongjiu.lu@intel.com> * emul_aix.c (ar_emul_aix_append): Add a target argument and ignore it if it is set. (ar_emul_aix5_append): Likewise. (ar_emul_aix_replace): Likewise. (ar_emul_aix5_replace): Likewise.
This commit is contained in:
parent
d4d9148957
commit
a247867708
@ -1,3 +1,11 @@
|
||||
2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* emul_aix.c (ar_emul_aix_append): Add a target argument
|
||||
and ignore it if it is set.
|
||||
(ar_emul_aix5_append): Likewise.
|
||||
(ar_emul_aix_replace): Likewise.
|
||||
(ar_emul_aix5_replace): Likewise.
|
||||
|
||||
2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* ar.c (plugin_target): New.
|
||||
|
@ -92,31 +92,41 @@ ar_emul_aix_internal (bfd ** after_bfd,
|
||||
|
||||
|
||||
static bfd_boolean
|
||||
ar_emul_aix_append (bfd **after_bfd, char *file_name, bfd_boolean verbose,
|
||||
bfd_boolean flatten)
|
||||
ar_emul_aix_append (bfd **after_bfd, char *file_name, const char *target,
|
||||
bfd_boolean verbose, bfd_boolean flatten)
|
||||
{
|
||||
if (target)
|
||||
non_fatal (_("target `%s' ignored."), target);
|
||||
return ar_emul_aix_internal (after_bfd, file_name, verbose,
|
||||
"aixcoff64-rs6000", TRUE, flatten);
|
||||
}
|
||||
|
||||
static bfd_boolean
|
||||
ar_emul_aix5_append (bfd **after_bfd, char *file_name, bfd_boolean verbose,
|
||||
bfd_boolean flatten)
|
||||
ar_emul_aix5_append (bfd **after_bfd, char *file_name, const char *target,
|
||||
bfd_boolean verbose, bfd_boolean flatten)
|
||||
{
|
||||
if (target)
|
||||
non_fatal (_("target `%s' ignored."), target);
|
||||
return ar_emul_aix_internal (after_bfd, file_name, verbose,
|
||||
"aix5coff64-rs6000", TRUE, flatten);
|
||||
}
|
||||
|
||||
static bfd_boolean
|
||||
ar_emul_aix_replace (bfd **after_bfd, char *file_name, bfd_boolean verbose)
|
||||
ar_emul_aix_replace (bfd **after_bfd, char *file_name, const char *target,
|
||||
bfd_boolean verbose)
|
||||
{
|
||||
if (target)
|
||||
non_fatal (_("target `%s' ignored."), target);
|
||||
return ar_emul_aix_internal (after_bfd, file_name, verbose,
|
||||
"aixcoff64-rs6000", FALSE, FALSE);
|
||||
}
|
||||
|
||||
static bfd_boolean
|
||||
ar_emul_aix5_replace (bfd **after_bfd, char *file_name, bfd_boolean verbose)
|
||||
ar_emul_aix5_replace (bfd **after_bfd, char *file_name,
|
||||
const char *target, bfd_boolean verbose)
|
||||
{
|
||||
if (target)
|
||||
non_fatal (_("target `%s' ignored."), target);
|
||||
return ar_emul_aix_internal (after_bfd, file_name, verbose,
|
||||
"aix5coff64-rs6000", FALSE, FALSE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user