This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[vms/committed]: add dwarf2 embedding symbols on alpha-vms


Hi,

in order to use dwarf2 debugging info on alpha vms, we use a trick: they are embedded between special symbols.

Committed on trunk.

Tristan.

ld/
2011-04-21  Tristan Gingold  <gingold@adacore.com>

	* scripttempl/alphavms.sc: Add dwarf2 embedding marks.

RCS file: /cvs/src/src/ld/scripttempl/alphavms.sc,v
retrieving revision 1.2
diff -c -r1.2 alphavms.sc
*** scripttempl/alphavms.sc	1 Jun 2010 09:52:28 -0000	1.2
--- scripttempl/alphavms.sc	21 Apr 2011 12:06:40 -0000
***************
*** 42,47 ****
--- 42,74 ----
      *(LIB\$INITIALIZE$)	/* End marker.  */
    }
  
+   \$DWARF\$ ALIGN (${PAGESIZE}) : {
+     \$dwarf2.debug_pubtypes = .;
+     *(debug_pubtypes)
+     \$dwarf2.debug_ranges = .;
+     *(debug_ranges)
+ 
+     \$dwarf2.debug_abbrev = .;
+     *(debug_abbrev)
+     \$dwarf2.debug_aranges = .;
+     *(debug_aranges)
+     \$dwarf2.debug_frame = .;
+     *(debug_frame)
+     \$dwarf2.debug_info = .;
+     *(debug_info)
+     \$dwarf2.debug_line = .;
+     *(debug_line)
+     \$dwarf2.debug_loc = .;
+     *(debug_loc)
+     \$dwarf2.debug_macinfo = .;
+     *(debug_macinfo)
+     \$dwarf2.debug_pubnames = .;
+     *(debug_pubnames)
+     \$dwarf2.debug_str = .;
+     *(debug_str)
+     \$dwarf2.debug_zzzzzz = .;
+   }
+ 
    \$DST\$ 0 : {
      *(\$DST\$)
    }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]