]> git.wh0rd.org Git - elf2flt.git/commitdiff
R_H8_DIR24 fix
authorYoshinori Sato <ysato@users.souceforge.jp>
Wed, 30 Dec 2015 23:55:47 +0000 (00:55 +0100)
committerGreg Ungerer <gerg@uclinux.org>
Thu, 7 Jan 2016 11:49:40 +0000 (21:49 +1000)
R_H8_DIR24A8 / R_H8_DIR24R8 keep all byte.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
elf2flt.c

index 17affd937c58597f7ed63e305deb3638a4fee5f8..6134961e4c40def25cff4033ba2544770b2e7a7e 100644 (file)
--- 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: