[PATCH]: Fixes in bfd for HC11/HC12
Stephane Carrez
stcarrez@nerim.fr
Tue May 13 18:57:00 GMT 2003
Hi!
I committed this patch on 2_14 branch and mainline to fix problems on m6811/m6812-elf:
- fix a crash of objdump -S (due to the use of bfd_zalloc() to allocate the hash table)
- fix a link problem for 68HCS12 which forbided to link object files produced by
gas -m68hcs12 option, recorded in:
[ Bug #3432 ] -m68hcs12 option cannot be used due to link errors with provided libs
http://savannah.gnu.org/bugs/?func=detailbug&group_id=2424&bug_id=3432
Stephane
2003-05-13 Stephane Carrez <stcarrez@nerim.fr>
* elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for
processor capability, allow merge of HC12 and HCS12 in some cases.
(m68hc11_elf_hash_table_create): Use bfd_malloc instead of bfd_zalloc.
* cpu-m68hc12.c (bfd_m68hc12s_arch): New struct.
(bfd_m68hc12_arch): Link it.
(scan_mach): New function.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bfd.diffs
URL: <https://sourceware.org/pipermail/binutils/attachments/20030513/c47da3a9/attachment.ksh>
More information about the Binutils
mailing list