aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/scripttempl/alphavms.sc27
2 files changed, 31 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 9e8bd5e..bb17249 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-21 Tristan Gingold <gingold@adacore.com>
+
+ * scripttempl/alphavms.sc: Add dwarf2 embedding marks.
+
2011-04-20 Tristan Gingold <gingold@adacore.com>
* emultempl/aix.em (_add_options): Ignore -bbigtoc switch.
diff --git a/ld/scripttempl/alphavms.sc b/ld/scripttempl/alphavms.sc
index 406a601..912745f 100644
--- a/ld/scripttempl/alphavms.sc
+++ b/ld/scripttempl/alphavms.sc
@@ -42,6 +42,33 @@ SECTIONS
*(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\$)
}