This is the mail archive of the binutils@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]

Re: New Patch: add new score3 target and other changes


Hi Brain,

New score.patch have been sent to you a week already,but i don't receive your reply, did you receive score.patch?

I encountered the following errors whilst trying to build a score-elf toolchain with your patch applied:


bfd/elf32-score.c: In function 'score3_bfd_putl48':
bfd/elf32-score.c:294: error: right shift count >= width of type
bfd/elf32-score.c:295: error: right shift count >= width of type
bfd/elf32-score.c: At top level:
bfd/elf32-score.c:961: error: large integer implicitly truncated to unsigned type
bfd/elf32-score.c:961: error: large integer implicitly truncated to unsigned type
bfd/elf32-score.c:976: error: large integer implicitly truncated to unsigned type
bfd/elf32-score.c:976: error: large integer implicitly truncated to unsigned type
bfd/elf32-score.c: In function 'score_elf_final_link_relocate':
bfd/elf32-score.c:2203: error: right shift count >= width of type
bfd/elf32-score.c:2216: error: left shift count >= width of type
bfd/elf32-score.c:2230: error: right shift count >= width of type
bfd/elf32-score.c:2236: error: left shift count >= width of type
bfd/elf32-score.c: In function 's3_bfd_score_elf_relocate_section':
bfd/elf32-score.c:2525: error: right shift count >= width of type
bfd/elf32-score.c:2534: error: left shift count >= width of type
bfd/elf32-score.c:2545: error: right shift count >= width of type
bfd/elf32-score.c:2561: error: left shift count >= width of type



opcodes/score-dis.c:72: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:72: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:73: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:73: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:270: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:288: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:381: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:381: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:382: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:382: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:406: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c:438: error: large integer implicitly truncated to unsigned type
opcodes/score-dis.c: In function 's3_print_insn':
opcodes/score-dis.c:1118: error: left shift count >= width of type
opcodes/score-dis.c:1118: error: left shift count >= width of type
opcodes/score-dis.c:1124: error: left shift count >= width of type



gas/config/tc-score7.c: In function 's7_validate_immediate':
gas/config/tc-score7.c:1516: error: comparison between signed and unsigned
gas/config/tc-score7.c: In function 's7_do_macro_li_rdi32':
gas/config/tc-score7.c:4471: error: comparison is always true due to limited range of data type
gas/config/tc-score7.c:4471: error: comparison is always true due to limited range of data type
gas/config/tc-score.c: At top level:
gas/config/tc-score.c:1042: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1043: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1044: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1045: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1046: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1046: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1047: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1047: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1048: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1048: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1049: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c:1049: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c: In function 's3_validate_immediate':
gas/config/tc-score.c:1383: error: comparison between signed and unsigned
gas/config/tc-score.c: In function 's3_adjust_paritybit':
gas/config/tc-score.c:2566: error: large integer implicitly truncated to unsigned type
gas/config/tc-score.c: In function 's3_do_lw48':
gas/config/tc-score.c:3587: error: comparison is always true due to limited range of data type
gas/config/tc-score.c: In function 's3_do_sw48':
gas/config/tc-score.c:3630: error: comparison is always true due to limited range of data type
gas/config/tc-score.c: In function 's3_do_ldi48':
gas/config/tc-score.c:3663: error: comparison is always true due to limited range of data type
gas/config/tc-score.c:3663: error: comparison is always true due to limited range of data type
gas/config/tc-score.c: In function 's3_do_macro_li_rdi32':
gas/config/tc-score.c:4386: error: comparison is always true due to limited range of data type
gas/config/tc-score.c:4386: error: comparison is always true due to limited range of data type
gas/config/tc-score.c: In function 's3_number_to_chars_littleendian':
gas/config/tc-score.c:6690: error: right shift count >= width of type
gas/config/tc-score.c: In function 's3_chars_to_number_littleendian':
gas/config/tc-score.c:6714: error: left shift count >= width of type
gas/config/tc-score.c: In function 's3_apply_fix':
gas/config/tc-score.c:7256: error: left shift count >= width of type
gas/config/tc-score.c:7268: error: left shift count >= width of type



This was on a 32-bit x86 host using a v4.3.2 release of gcc. These will need to be fixed, (by you), before the patch can be applied.


Cheers
  Nick


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