* aout-target.h (MY_bfd_copy_private_section_data): Only copy
subformat to another bfd_target_aout_flavour file.
This commit is contained in:
parent
d4d166835f
commit
d7785845ff
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue