Commit MetaInfo

Revision03e28389e4821a7cf23a26d2d3444d3409136023 (tree)
Time2015-06-09 16:29:19
AuthorYoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

RX relocation fix

Change Summary

Incremental Difference

--- a/elf2flt.c
+++ b/elf2flt.c
@@ -722,6 +722,11 @@ dump_symbols(symbols, number_of_symbols);
722722
723723 flat_reloc_count++;
724724 break;
725+#elif defined(TARGET_rx)
726+ case R_RX_DIR24S_PCREL:
727+ continue;
728+ default:
729+ goto good_32bit_resolved_reloc;
725730 #else
726731 default:
727732 /* The default is to assume that the
@@ -1356,6 +1361,7 @@ DIS29_RELOCATION:
13561361 sym_addr += sym_vma + q->addend;
13571362 break;
13581363 case R_RX_DIR24S_PCREL:
1364+ relocation_needed = 0;
13591365 sym_vma = 0;
13601366 sym_addr = (*(q->sym_ptr_ptr))->value;
13611367 sym_addr += sym_vma + q->addend;
Show on old repository browser