RFC: mips dwarf2 unwind info
Eric Christopher
echristo@redhat.com
Fri Mar 11 02:08:00 GMT 2005
So, I went ahead and implemented it for mips, but since we don't have
DIFF_EXPR_OK and no way of doing pc relocs I had to change a couple of
testcases to allow for either value. I also noticed that in gcc we have
the debug offset slightly wrong. We have DWARF_CIE_DATA_ALIGNMENT as 4
there, not -4 even though our stack grows downward. I can't think of any
reason why I shouldn't check this in here, and correct it there, but I
thought asking for a bit of review and comment wouldn't hurt either.
I tested on mips-linux-gnu for gas and mips-elf for gcc and gas (along
with the gcc change), but no more. Before I went through the effort of
building an entire mips-linux build I thought I'd ask for comments here.
-eric
2005-03-10 Eric Christopher <echristo@redhat.com>
* Makefile.am (tc-mips.c): Add dependencies.
* config/tc-mips.c: Include dw2gencfi.h.
(mips_cfi_frame_initial_instructions): New.
* config/tc-mips.h (TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions): Ditto.
(DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
(DWARF2_CIE_DATA_ALIGNMENT): Ditto.
2005-03-10 Eric Christopher <echristo@redhat.com>
* gas/cfi/cfi-common-1.d: Allow 0 as Augmentation data.
* gas/cfi/cfi-common-2.d: Ditto.
* gas/cfi/cfi-common-3.d: Ditto.
* gas/cfi/cfi-common-4.d: Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas.diff
Type: text/x-patch
Size: 5503 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050311/51805b2f/attachment.bin>
More information about the Binutils
mailing list