From: Yoshinori Sato Date: Wed, 30 Dec 2015 23:55:47 +0000 (+0100) Subject: R_H8_DIR24 fix X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9e9950f0dd85aa78cd1e1bf18bdf015b79158b8c;p=elf2flt.git R_H8_DIR24 fix R_H8_DIR24A8 / R_H8_DIR24R8 keep all byte. Signed-off-by: Yoshinori Sato Signed-off-by: Waldemar Brodkorb Signed-off-by: Greg Ungerer --- diff --git a/elf2flt.c b/elf2flt.c index 17affd9..6134961 100644 --- a/elf2flt.c +++ b/elf2flt.c @@ -725,11 +725,11 @@ dump_symbols(symbols, number_of_symbols); break; #elif defined (TARGET_h8300) case R_H8_DIR32: - case R_H8_DIR24A8: - case R_H8_DIR24R8: case R_H8_DIR32A16: case R_H8_DISP32A16: r_mem[0] = 0; + case R_H8_DIR24A8: + case R_H8_DIR24R8: goto good_32bit_resolved_reloc; case R_H8_PCREL8: case R_H8_PCREL16: