diff options
author | Nick Clifton <nickc@redhat.com> | 2018-06-20 10:43:00 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-06-20 10:43:00 +0100 |
commit | c6643fcc058d6b4aebca75818fbbb705837a9fa3 (patch) | |
tree | 0e99ca41b74b546834d8b2151f9b855200146f68 /bfd/ChangeLog | |
parent | ebb1332297da904a4adab0d3696a5512604f5edd (diff) |
Stop objcopy from corrupting mach-o files.
PR 23299
* mach-o.c (cputype): New function.
(cpusubtype): New function.
(bfd_mach_o_bfd_print_private_data): New function. Dispalys the
values in the MACH-O file header.
(bfd_mach_o_bfd_copy_private_header_data): Copy the cputype and
cpusubtype fields from the input bfd's mach-o header to the output
bfd.
* mach-o-target.c (bfd_mach_o_bfd_print_private_bfd_data):
Redefine to bfd_mach_o_bfd_print_private_data.
* mach-o.h (bfd_mach_o_bfd_print_private_bfd_data): Prototype.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d12dc994256..d0f6668dcde 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,17 @@ +2018-06-20 Nick Clifton <nickc@redhat.com> + + PR 23299 + * mach-o.c (cputype): New function. + (cpusubtype): New function. + (bfd_mach_o_bfd_print_private_data): New function. Dispalys the + values in the MACH-O file header. + (bfd_mach_o_bfd_copy_private_header_data): Copy the cputype and + cpusubtype fields from the input bfd's mach-o header to the output + bfd. + * mach-o-target.c (bfd_mach_o_bfd_print_private_bfd_data): + Redefine to bfd_mach_o_bfd_print_private_data. + * mach-o.h (bfd_mach_o_bfd_print_private_bfd_data): Prototype. + 2018-06-19 Maciej W. Rozycki <macro@mips.com> PR ld/22966 |