aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2013-07-08 13:02:21 +0000
committerTristan Gingold <gingold@adacore.com>2013-07-08 13:02:21 +0000
commit639453f58d9b41fd796f826ac8cb433e19e57fe2 (patch)
treefec9a50642012381e46ef7bad7c12648aa421a84 /ld
parent0329e9fbe830993d1f79a8cca816d6c7b6028dc6 (diff)
downloadfsf-binutils-gdb-639453f58d9b41fd796f826ac8cb433e19e57fe2.zip
fsf-binutils-gdb-639453f58d9b41fd796f826ac8cb433e19e57fe2.tar.gz
fsf-binutils-gdb-639453f58d9b41fd796f826ac8cb433e19e57fe2.tar.bz2
2013-07-08 Tristan Gingold <gingold@adacore.com>
* scripttempl/ia64vms.sc: Add support of per data and per function sections.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/ia64vms.sc12
2 files changed, 11 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 28bf16e..1bd8f6e 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-08 Tristan Gingold <gingold@adacore.com>
+
+ * scripttempl/ia64vms.sc: Add support of per data and per function
+ sections.
+
2013-07-01 Alan Modra <amodra@gmail.com>
* emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
diff --git a/ld/scripttempl/ia64vms.sc b/ld/scripttempl/ia64vms.sc
index cdda6b2..ba50f66 100644
--- a/ld/scripttempl/ia64vms.sc
+++ b/ld/scripttempl/ia64vms.sc
@@ -16,14 +16,14 @@ SECTIONS
\$DATA\$ ALIGN (${BLOCKSIZE}) : {
*(\$DATA\$ .data .data.*)
- *(\$BSS\$ .bss)
+ *(\$BSS\$ .bss .bss.*)
}
/* Code segment. Note: name must be \$CODE\$ */
${RELOCATING+. = ALIGN (${PAGESIZE});}
\$CODE\$ ALIGN (${BLOCKSIZE}) : {
- *(\$CODE\$ .text)
+ *(\$CODE\$ .text .text.*)
}
.plt ALIGN (8) : {
*(.plt)
@@ -35,7 +35,7 @@ SECTIONS
/* RO initialized data. */
\$LITERAL\$ ALIGN (${BLOCKSIZE}) : {
*(\$LITERAL\$)
- *(\$READONLY\$ .rodata)
+ *(\$READONLY\$ .rodata .rodata.*)
*(.jcr)
*(.ctors)
*(.dtors)
@@ -53,7 +53,7 @@ SECTIONS
${RELOCATING+. = ALIGN (${PAGESIZE});}
.srodata : {
- *(.srodata)
+ *(.srodata .srodata.*)
}
.got ALIGN (8) : {
*(.got)
@@ -71,7 +71,7 @@ SECTIONS
\$RW_SHORT\$ ALIGN (${BLOCKSIZE}) : {
*(.sdata .sdata.*)
- *(.sbss)
+ *(.sbss .sbss.*)
}
${RELOCATING+. = ALIGN (${PAGESIZE});}
@@ -111,6 +111,6 @@ EOF
cat <<EOF
.note : { *(.vms.note) }
- /DISCARD/ : { *(.note) }
+ /DISCARD/ : { *(.note) *(.vms_display_name_info) }
}
EOF