[PATCH: Bug debug/39527] wrong function name and line numbers with -g -O2 option

M R Swami Reddy MR.Swami.Reddy@nsc.com
Tue Mar 24 10:08:00 GMT 2009


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/20090324/c4a9ff3f/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: elf32-crx.c.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20090324/c4a9ff3f/attachment-0001.ksh>


More information about the Binutils mailing list