[Bug ld/7037] Dwarf offset error with -g -O2 options

2008-11-18 Thread swami at india dot nsc dot com
--- Additional Comments From swami at india dot nsc dot com 2008-11-18 10:11 --- Created an attachment (id=3071) -- (http://sourceware.org/bugzilla/attachment.cgi?id=3071action=view) Assembly file of test.c -- http://sourceware.org/bugzilla/show_bug.cgi?id=7037 --- You are

[Bug ld/7037] Dwarf offset error with -g -O2 options

2008-11-18 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-11-18 13:56 --- Created an attachment (id=3073) -- (http://sourceware.org/bugzilla/attachment.cgi?id=3073action=view) Fix reloc desriptions -- http://sourceware.org/bugzilla/show_bug.cgi?id=7037 --- You are receiving

[Bug ld/7037] Dwarf offset error with -g -O2 options

2008-11-18 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-11-18 14:02 --- Hi Swami, Well this was a fun one to track down. The problem turned out to be the descriptions of the CR16 relocs in elf32-cr16.c. In particular they were using the src_mask field of reloc_howto_struct which

[Bug ld/7037] Dwarf offset error with -g -O2 options

2008-11-18 Thread swami at sourceware dot org
--- Additional Comments From swami at sourceware dot org 2008-11-19 04:21 --- Hi Nick, Thank you very much for anlysis and patch. Thanks Swami -- http://sourceware.org/bugzilla/show_bug.cgi?id=7037 --- You are receiving this mail because: --- You are on the CC list for