aboutsummaryrefslogtreecommitdiff
path: root/binutils/binemul.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-12-10 08:51:47 +0000
committerAlan Modra <amodra@gmail.com>2010-12-10 08:51:47 +0000
commit13485ea2e5d38cb002c28110f90fe9767c8e2fb8 (patch)
tree9c4ba9933002bc7bea893aa5e8c1e59fe73594c5 /binutils/binemul.h
parentb9e33f301ea91a4d15666e882acd35e65ec68d41 (diff)
downloadgdb-13485ea2e5d38cb002c28110f90fe9767c8e2fb8.zip
gdb-13485ea2e5d38cb002c28110f90fe9767c8e2fb8.tar.gz
gdb-13485ea2e5d38cb002c28110f90fe9767c8e2fb8.tar.bz2
* binemul.h (do_ar_emul_append): Declare.
* binemul.c (any_ok): New function. (do_ar_emul_append): Rename from do_ar_emul_default_append. Make global, add check arg. Adjust callers. (ar_emul_default_replace): Tidy. * configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use bin_aix_emulation. * emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete. (ar_emul_aix5_append, ar_emul_aix5_replace): Delete. (check_aix): New function. (ar_emul_aix_append, ar_emul_aix_replace): Rewrite.
Diffstat (limited to 'binutils/binemul.h')
-rw-r--r--binutils/binemul.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/binemul.h b/binutils/binemul.h
index f85cc09..a93b7b0 100644
--- a/binutils/binemul.h
+++ b/binutils/binemul.h
@@ -32,6 +32,9 @@ extern bfd_boolean ar_emul_append (bfd **, char *, const char *,
bfd_boolean, bfd_boolean);
extern bfd_boolean ar_emul_default_append (bfd **, char *, const char *,
bfd_boolean, bfd_boolean);
+extern bfd_boolean do_ar_emul_append (bfd **, bfd *,
+ bfd_boolean, bfd_boolean,
+ bfd_boolean (*)(bfd *));
extern bfd_boolean ar_emul_replace (bfd **, char *, const char *,
bfd_boolean);
extern bfd_boolean ar_emul_default_replace (bfd **, char *,