Subject: objdump -d dumps core
To: None <tech-toolchain@NetBSD.ORG>
From: Martin Husemann <martin@duskware.de>
List: tech-toolchain
Date: 02/01/2003 17:37:40
Just noticed that objdump -d tends to dump core on sparc64.

In a kernel compile dir:

# objdump -d tty_conf.o 

tty_conf.o:     file format elf64-sparc

Disassembly of section .text:

0000000000000000 <ttynullioctl>:
   0:   81 c3 e0 08     retl 
Segmentation fault(core dumped)

gdb says:

#0  0x40611198 in bcopy () from /usr/lib/libc.so.12
#1  0x4045594c in buffer_read_memory () from /usr/lib/libbfd.so.4
#2  0x40456848 in print_insn_sparc () from /usr/lib/libbfd.so.4
#3  0x10481c in dladdr ()
#4  0x105968 in dladdr ()
#5  0x106378 in dladdr ()
#6  0x1064bc in dladdr ()
#7  0x1065d0 in dladdr ()
#8  0x107b78 in main ()
#9  0x102784 in _init ()

Martin