This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
MIPS_STABS_ELF is now broken
- From: "H . J . Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Cc: drow at mvista dot com
- Date: Mon, 10 Jun 2002 23:38:53 -0700
- Subject: MIPS_STABS_ELF is now broken
Hi Daniel,
I believe your patch
http://sources.redhat.com/ml/binutils/2002-06/msg00194.html
breaks MIPS_STABS_ELF.
# gcc -c x.c
# objdump --full -j .stabstr x.o|m
x.o: file format elf32-tradlittlemips
Contents of section .stabstr:
0000 002f746d 702f6363 4b305a32 6f452e73 ./tmp/ccK0Z2oE.s
^^^^^^^^^^^^^^^^
It was not there before your change. As the result, gcc bootstrap fails
in "make compare" when MIPS_STABS_ELF is used. Could you please fix it?
I don't think you should pass the first .file to dwarf. See
http://sources.redhat.com/ml/binutils/2002-06/msg00066.html
and how alpha handles it.
Thanks.
H.J.