ELF H8 typo
Jeff Law
law@porcupine.slc.redhat.com
Wed Sep 11 12:21:00 GMT 2002
More information about the Binutils mailing list
Wed Sep 11 12:21:00 GMT 2002
- Previous message (by thread): Linker error while compiling linux kernel
- Next message (by thread): libbfd msdos target
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Some recent cleanups/fixups in elf32-h8300 introduced a minor typo which causes -mrelax to fail miserably. This patch fixes the typo. If you're planning a bugfix release of binutils-2.13, then you should probably include this patch. FWIW, I checked the other elf32-*, elf-m10200.c, and elf-m10300.c files to ensure no other references to ELF64 were accidentally introduced into them. They were all OK. * elf32-h8300.c (elf32_h8_relax_section): Fix typo. Index: elf32-h8300.c =================================================================== RCS file: /cvs/src/src/bfd/elf32-h8300.c,v retrieving revision 1.15 diff -c -3 -p -r1.15 elf32-h8300.c *** elf32-h8300.c 23 Jul 2002 12:29:32 -0000 1.15 --- elf32-h8300.c 11 Sep 2002 19:18:06 -0000 *************** elf32_h8_relax_section (abfd, sec, link_ *** 765,771 **** Elf_Internal_Sym *isym; asection *sym_sec; ! isym = isymbuf + ELF64_R_SYM (irel->r_info); sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); symval = (isym->st_value + sym_sec->output_section->vma --- 765,771 ---- Elf_Internal_Sym *isym; asection *sym_sec; ! isym = isymbuf + ELF32_R_SYM (irel->r_info); sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); symval = (isym->st_value + sym_sec->output_section->vma
- Previous message (by thread): Linker error while compiling linux kernel
- Next message (by thread): libbfd msdos target
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list