[PATCH 5/6] R_H8_DIR24 fix

Waldemar Brodkorb <[email protected]> Thu, 31 Dec 2015 00:55:47 +0100
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
From: Yoshinori Sato <[email protected]>

R_H8_DIR24A8 / R_H8_DIR24R8 keep all byte.

Signed-off-by: Yoshinori Sato <[email protected]>
Signed-off-by: Waldemar Brodkorb <[email protected]>
---
 elf2flt.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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:
-- 
1.7.10.4

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev