DWARF read

H.J. Lu hjl@varesearch.com
Fri Feb 5 11:43:00 GMT 1999


Hi,

I noticed that there is no DWARF read in BFD. As the result, one ld
test failed on Solaris/x86:

gcc -g -I/net/shanghai/local/work/gnu/src/binutils/ld/testsuite/ld-undefined -c -O2 -g /net/shanghai/local/work/gnu/src/binutils/ld/testsuite/ld-undefined/undefined.c
-o tmpdir/undefined.o
/export/home/hjl/build/gnu/bin/binutils/ld/ld-new -e start -o tmpdir/undefined
tmpdir/undefined.o
ld-new: warning: cannot find entry symbol start; defaulting to 08048074
tmpdir/undefined.o: In function `function':
tmpdir/undefined.o(.text+0x4): undefined reference to `this_function_is_not_defined'
PASS: undefined
PASS: undefined function
FAIL: undefined line

However, gdb knows how to read DWARF. Shouldn't it be moved to BFD so
that other problems can access DWARF also?

Thanks.


-- 
H.J. Lu (hjl@gnu.org)



More information about the Bfd mailing list