This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/bfd elf32-cr16.c reloc.c bfd-in.h libbfd.h ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	swami@sourceware.org	2008-11-27 12:26:50

Modified files:
	bfd            : elf32-cr16.c reloc.c bfd-in.h libbfd.h 
	                 bfd-in2.h ChangeLog 

Log message:
	* Add PIC support for CR16 target.
	* elf32-cr16.c (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
	R_CR16_GLOB_DAT): New macros
	(cr16_elf_howto_table): Add entries for for R_CR16_GOT_REGREL20,
	R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT.
	(cr16_reloc_map): Ditto
	(_bfd_cr16_elf_create_got_section): New function to create GOT section.
	(_bfd_cr16_elf_create_dynamic_sections): New function to create dynamic
	section.
	(_bfd_cr16_elf_adjust_dynamic_symbol): New function to adjust symbol
	defined by dynamic object.
	(_bfd_cr16_elf_size_dynamic_sections): New function to find the size
	of dynamic section.
	(_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic
	symbols.
	(_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic
	sections.
	(bfd_cr16_elf32_create_embedded_relocs): New function to create
	embedded relocs in .emreloc section in memory for .data.rel section.
	(_bfd_cr16_elf_reloc_type_class): New function for classify reloc types.
	(cr16_elf_check_relocs): New function for checking reloc types in
	first phase.
	(cr16_elf_final_link_relocate): Update for handling the new reloc
	types R_CR16_GOT_REGREL20 and R_CR16_GOTC_REGREL20.
	(elf32_cr16_relax_section): Update relax implementation.
	* reloc.c (bfd_reloc_code_type): Add entries for R_CR16_GOT_REGREL20,
	R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT.
	* bfd-in.h (bfd_boolean bfd_cr16_elf32_create_embedded_relocs): Declared
	* libbfd.h, bfd-in2.h: Regenerate.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-cr16.c.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/reloc.c.diff?cvsroot=src&r1=1.178&r2=1.179
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/bfd-in.h.diff?cvsroot=src&r1=1.139&r2=1.140
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/libbfd.h.diff?cvsroot=src&r1=1.206&r2=1.207
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/bfd-in2.h.diff?cvsroot=src&r1=1.456&r2=1.457
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4377&r2=1.4378


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]