From d7785845ff5fbcdf50d56d944b2695bb5d3caf79 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 18 Oct 1994 18:49:34 +0000 Subject: [PATCH] * aout-target.h (MY_bfd_copy_private_section_data): Only copy subformat to another bfd_target_aout_flavour file. --- bfd/aout-target.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/aout-target.h b/bfd/aout-target.h index 57e7e81ac13..201fa1c33b6 100644 --- a/bfd/aout-target.h +++ b/bfd/aout-target.h @@ -199,7 +199,8 @@ MY_bfd_copy_private_section_data (ibfd, isec, obfd, osec) bfd *obfd; asection *osec; { - obj_aout_subformat (obfd) = obj_aout_subformat (ibfd); + if (bfd_get_flavour (obfd) == bfd_target_aout_flavour) + obj_aout_subformat (obfd) = obj_aout_subformat (ibfd); return true; } @@ -360,6 +361,9 @@ MY_bfd_final_link (abfd, info) #ifndef MY_truncate_arname #define MY_truncate_arname bfd_bsd_truncate_arname #endif +#ifndef MY_update_armap_timestamp +#define MY_update_armap_timestamp _bfd_archive_bsd_update_armap_timestamp +#endif /* No core file defined here -- configure in trad-core.c separately. */ #ifndef MY_core_file_failing_command -- 2.30.2