This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ELF/sh is broken


This change

http://sources.redhat.com/ml/binutils-cvs/2002-05/msg00186.html

breaks ELF/sh.


Starting program: /export/build/gnu/binutils/build-sh-linux/binutils/objdump
-dr --prefix-addresses --show-raw-insn dump.o

dump.o:     file format elf32-shbig-linux

Disassembly of section .text:

Program received signal SIGSEGV, Segmentation fault.
0x0806609d in print_insn_sh (memaddr=0, info=0xbffff730)
    at /home/hjl/work/linux/import/binutils/opcodes/sh-dis.c:307
307           if (bfd_asymbol_flavour(*info->symbols) ==
bfd_target_coff_flavour)
(gdb) p *info
$4 = {fprintf_func = 0x804acb4 <objdump_sprintf>, stream = 0xbffff5d0, 
  application_data = 0xbffff720, flavour = bfd_target_elf_flavour, 
  arch = bfd_arch_sh, mach = 0, endian = BFD_ENDIAN_BIG, insn_sets = 0, 
  section = 0x80f7b04, symbols = 0x0, num_symbols = 0, flags = 0, 
  private_data = 0x0, read_memory_func = 0x80658fc <buffer_read_memory>, 
  memory_error_func = 0x80659c0 <perror_memory>, 
  print_address_func = 0x804a82c <objdump_print_address>, 
  symbol_at_address_func = 0x804a850 <objdump_symbol_at_address>, 
  buffer = 0x80f2ad8 "Ç\nÜ\n<\fÐ\n", buffer_vma = 0, buffer_length = 68, 
  bytes_per_line = 0, bytes_per_chunk = 0, display_endian = BFD_ENDIAN_BIG, 
  octets_per_byte = 1, insn_info_valid = 0 '\0', branch_delay_insns = 42 '*', 
  data_size = 15 '\017', insn_type = dis_noninsn, target = 580710536543469568, 
  target2 = 13835049018806180136, disassembler_options = 0x0}


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]