* 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
|
@ -199,7 +199,8 @@ MY_bfd_copy_private_section_data (ibfd, isec, obfd, osec)
|
||||||
bfd *obfd;
|
bfd *obfd;
|
||||||
asection *osec;
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -360,6 +361,9 @@ MY_bfd_final_link (abfd, info)
|
||||||
#ifndef MY_truncate_arname
|
#ifndef MY_truncate_arname
|
||||||
#define MY_truncate_arname bfd_bsd_truncate_arname
|
#define MY_truncate_arname bfd_bsd_truncate_arname
|
||||||
#endif
|
#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. */
|
/* No core file defined here -- configure in trad-core.c separately. */
|
||||||
#ifndef MY_core_file_failing_command
|
#ifndef MY_core_file_failing_command
|
||||||
|
|
Loading…
Reference in New Issue