AVR does not compile on head
Joel Sherrill
joel.sherrill@oarcorp.com
Fri Jul 17 15:19:00 GMT 2009
Nick Clifton wrote:
> Hi Joel,
>
>
>> /home/joel/test-gcc/binutils-cvs/src/gas/config/tc-avr.c: In function
>> ‘md_apply_fix’:
>> /home/joel/test-gcc/binutils-cvs/src/gas/config/tc-avr.c:1249:2: error:
>> case value ‘4294966468’ not in enumerated type ‘bfd_reloc_code_real_type’
>>
>
> I am not able to reproduce this, but I am probably using an older
> compiler than you (gcc 4.3.2).
This computer was just updated to Fedora 11 with gcc 4.4.0
so it makes sense I am running into new issues.
> Does the patch below fix the problem for
> you ?
>
>
Got past this. So please commit. Thanks.
FWIW the other *rtems targets built binutils OK. Some
tripped new gcc problems I reported though. <sigh>
--joel
> Cheers
> Nick
>
> Index: gas/config/tc-avr.c
> ===================================================================
> RCS file: /cvs/src/src/gas/config/tc-avr.c,v
> retrieving revision 1.63
> diff -c -3 -p -r1.63 tc-avr.c
> *** gas/config/tc-avr.c 3 Feb 2009 17:24:35 -0000 1.63
> --- gas/config/tc-avr.c 17 Jul 2009 09:54:31 -0000
> *************** md_apply_fix (fixS *fixP, valueT * valP,
> *** 1244,1250 ****
> }
> else
> {
> ! switch (fixP->fx_r_type)
> {
> case -BFD_RELOC_AVR_HI8_LDI_NEG:
> case -BFD_RELOC_AVR_HI8_LDI:
> --- 1244,1250 ----
> }
> else
> {
> ! switch ((int) fixP->fx_r_type)
> {
> case -BFD_RELOC_AVR_HI8_LDI_NEG:
> case -BFD_RELOC_AVR_HI8_LDI:
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the Binutils
mailing list