diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-11-23 04:12:06 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-11-23 04:12:06 +0000 |
commit | 37d4621bd4a912b6a032bc21906f7032e602cbf2 (patch) | |
tree | 6e6f3dad18baebc5f90abdcbbf4a8ba242555627 /gnu/usr.bin/binutils/bfd/aout-target.h | |
parent | fb7c7a778840ea235dd0bb550cfd2e2ac8ccb37c (diff) |
Merge to Cygnus 961112 + add some support (not ready) for shared libs
Diffstat (limited to 'gnu/usr.bin/binutils/bfd/aout-target.h')
-rw-r--r-- | gnu/usr.bin/binutils/bfd/aout-target.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/bfd/aout-target.h b/gnu/usr.bin/binutils/bfd/aout-target.h index 811f909e4ef..3100b24359c 100644 --- a/gnu/usr.bin/binutils/bfd/aout-target.h +++ b/gnu/usr.bin/binutils/bfd/aout-target.h @@ -212,7 +212,8 @@ MY_bfd_copy_private_section_data (ibfd, isec, obfd, osec) bfd *obfd; asection *osec; { - if (bfd_get_flavour (obfd) == bfd_target_aout_flavour) + if (bfd_get_flavour (ibfd) == bfd_target_aout_flavour + && bfd_get_flavour (obfd) == bfd_target_aout_flavour) obj_aout_subformat (obfd) = obj_aout_subformat (ibfd); return true; } |