summaryrefslogtreecommitdiff
path: root/ld/scripttempl
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
commitbd8ddb7da680ac978e77e64cf287cd3b373094c1 (patch)
treecda253336bb2df4162dca2a1dfa709a9e063fcdf /ld/scripttempl
parent31a08ad39d8f537023cfdf8018f16abf20eb9db2 (diff)
downloadbinutils-redhat-bd8ddb7da680ac978e77e64cf287cd3b373094c1.tar.gz
2013-07-08 Tristan Gingold <gingold@adacore.com>
* scripttempl/ia64vms.sc: Add support of per data and per function sections.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/ia64vms.sc12
1 files changed, 6 insertions, 6 deletions
diff --git a/ld/scripttempl/ia64vms.sc b/ld/scripttempl/ia64vms.sc
index cdda6b22f1..ba50f66fbd 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