[Fwd: [PATCH: Bug debug/39527] wrong function name and line numbers with -g -O2 option]
M R Swami Reddy
MR.Swami.Reddy@nsc.com
Wed Mar 25 05:56:00 GMT 2009
Hello,
Could you please review the below patch (ie bfd/elf32-crx.c.diff file).
Thanks
Swami
-------- Original Message --------
Subject: [PATCH: Bug debug/39527] wrong function name and line numbers with -g
-O2 option
Date: Tue, 24 Mar 2009 15:39:40 +0530
From: M R Swami Reddy <MR.Swami.Reddy@nsc.com>
To: GCC Patches <gcc-patches@gcc.gnu.org>, "binutils@sources.redhat.com"
<binutils@sources.redhat.com>
Patch to fix the PR 39527 for crx-elf target.
Ran the PR testcase and its working as expected and also ran the binutils tests.
No regressions.
Is this ok gcc trunk?
gcc/ChangeLog
PR debug/39527
* config/crx/crx.c (DWARF2_FRAME_INFO, PREFERRED_DEBUGGING_TYPE and
DWARF2_ASM_LINE_DEBUG_INFO): Define
bfd/ChangeLog
* elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of
the reloc descriptions.
Thanks
Swami
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crx.h.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20090325/d7b33158/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: elf32-crx.c.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20090325/d7b33158/attachment-0001.ksh>
More information about the Binutils
mailing list