h8300 elf relax

Paul paulc@senet.com.au
Sun May 4 01:47:00 GMT 2003


There is a typo in the h8300 8 bit reloc name 

--- elf32-h8300.c	2003-05-04 10:56:55.000000000 +0930
+++ bfd/elf32-h8300.c	2003-05-03 22:19:51.000000000 +0930
@@ -108,17 +108,17 @@ static reloc_howto_type h8_elf_howto_tab
   HOWTO (R_H8_DIR8,		/* type */
 	 0,			/* rightshift */
 	 0,			/* size (0 = byte, 1 = short, 2 = long) */
 	 8,			/* bitsize */
 	 FALSE,			/* pc_relative */
 	 0,			/* bitpos */
 	 complain_overflow_dont, /* complain_on_overflow */
 	 special,			/* special_function */
-	 "R_H8_DIR16",		/* name */
+	 "R_H8_DIR8",		/* name */
 	 FALSE,			/* partial_inplace */
 	 0,			/* src_mask */
 	 0x000000ff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
 #define R_H8_DIR16A8_X (R_H8_DIR8_X + 1)
   HOWTO (R_H8_DIR16A8,		/* type */
 	 0,			/* rightshift */
 	 1,			/* size (0 = byte, 1 = short, 2 = long) */





More information about the Binutils mailing list