[PATCH]: Fix special sections on HC11/HC12

Stephane Carrez stcarrez@nerim.fr
Sat Sep 6 20:57:00 GMT 2003


Hi!

For HC11, the special section .vectors was defined as writable. This is not correct because
this section is intended to be in ROM, so readonly (bug savannah 4950). The patch also
fixes the HC12 to define the special sections it had before (when they were defined in gas).
Committed on mainline.

	Stephane

2003-09-06  Stephane Carrez  <stcarrez@nerim.fr>

	* elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11.
	(elf_backend_special_sections): Define.a

	PR savannah/4950:
	* elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors
	section is read-only.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bfd.diffs
URL: <https://sourceware.org/pipermail/binutils/attachments/20030906/719ad4c2/attachment.ksh>


More information about the Binutils mailing list