------- Additional Comments From dannysmith at users dot sourceforge dot net  
2006-01-18 01:40 -------
(In reply to comment #7)
> Created an attachment (id=832)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=832&action=view)
> Create a VMA for the gnu_debuglink section


Almost.  The section needs to be page-aligned.
With this (and inclusion of 'libbfd.h'):

          if (highest_section)
            debuglink_vma = BFD_ALIGN (highest_section->vma
                                       + highest_section->size,
                                       0x1000);

 
I get good, debuggable exe's after going through the -add-gnu-dedug-link step.

Danny

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1391

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to