This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: xc16x-elf-as: relocation overflow
- From: Conny Marco Menebröcker <c-m-m at gmx dot de>
- To: binutils at sourceware dot org
- Date: Wed, 18 Nov 2009 20:42:10 +0100
- Subject: Re: xc16x-elf-as: relocation overflow
- References: <200911151506.24165.c-m-m@gmx.de>
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