xc16x-elf-as: relocation overflow

Conny Marco Menebröcker c-m-m@gmx.de
Wed Nov 18 19:43:00 GMT 2009


Hi,

could it be that the 'reloc_howto_type' isn't correct defined?
The following definition is used when the error occurs:

 /* Relocation regarding segment offset.  */
      HOWTO (R_XC16X_SOF,	/* type  */
    	 0,			/* rightshift  */
    	 1,			/* size (0 = byte, 1 = short, 2 = long)  */
    	 16,			/* bitsize  */
    	 FALSE,			/* pc_relative  */
    	 0,			/* bitpos  */
    	 complain_overflow_signed, /* complain_on_overflow  */
    	 bfd_elf_generic_reloc, /* special_function  */
    	 "R_XC16X_SOF",	/* name */
    	 TRUE,			/* partial_inplace  */
    	 0x00000000,		/* src_mask  */
    	 0x0000ffff,		/* dst_mask  */
    	 FALSE)			/* pcrel_offset  */

Can someone explain the structure? And maybe give me an example how to fill in 
the structure?

Thanks and best regards,
Conny



More information about the Binutils mailing list