2013-07-08 Tristan Gingold <gingold@adacore.com>

* scripttempl/ia64vms.sc: Add support of per data and per function
	sections.
This commit is contained in:
Tristan Gingold 2013-07-08 13:02:21 +00:00
parent 0329e9fbe8
commit 639453f58d
2 changed files with 11 additions and 6 deletions

View File

@ -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> 2013-07-01 Alan Modra <amodra@gmail.com>
* emultempl/ppc64elf.em: (ppc_layout_sections_again): Call * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call

View File

@ -16,14 +16,14 @@ SECTIONS
\$DATA\$ ALIGN (${BLOCKSIZE}) : { \$DATA\$ ALIGN (${BLOCKSIZE}) : {
*(\$DATA\$ .data .data.*) *(\$DATA\$ .data .data.*)
*(\$BSS\$ .bss) *(\$BSS\$ .bss .bss.*)
} }
/* Code segment. Note: name must be \$CODE\$ */ /* Code segment. Note: name must be \$CODE\$ */
${RELOCATING+. = ALIGN (${PAGESIZE});} ${RELOCATING+. = ALIGN (${PAGESIZE});}
\$CODE\$ ALIGN (${BLOCKSIZE}) : { \$CODE\$ ALIGN (${BLOCKSIZE}) : {
*(\$CODE\$ .text) *(\$CODE\$ .text .text.*)
} }
.plt ALIGN (8) : { .plt ALIGN (8) : {
*(.plt) *(.plt)
@ -35,7 +35,7 @@ SECTIONS
/* RO initialized data. */ /* RO initialized data. */
\$LITERAL\$ ALIGN (${BLOCKSIZE}) : { \$LITERAL\$ ALIGN (${BLOCKSIZE}) : {
*(\$LITERAL\$) *(\$LITERAL\$)
*(\$READONLY\$ .rodata) *(\$READONLY\$ .rodata .rodata.*)
*(.jcr) *(.jcr)
*(.ctors) *(.ctors)
*(.dtors) *(.dtors)
@ -53,7 +53,7 @@ SECTIONS
${RELOCATING+. = ALIGN (${PAGESIZE});} ${RELOCATING+. = ALIGN (${PAGESIZE});}
.srodata : { .srodata : {
*(.srodata) *(.srodata .srodata.*)
} }
.got ALIGN (8) : { .got ALIGN (8) : {
*(.got) *(.got)
@ -71,7 +71,7 @@ SECTIONS
\$RW_SHORT\$ ALIGN (${BLOCKSIZE}) : { \$RW_SHORT\$ ALIGN (${BLOCKSIZE}) : {
*(.sdata .sdata.*) *(.sdata .sdata.*)
*(.sbss) *(.sbss .sbss.*)
} }
${RELOCATING+. = ALIGN (${PAGESIZE});} ${RELOCATING+. = ALIGN (${PAGESIZE});}
@ -111,6 +111,6 @@ EOF
cat <<EOF cat <<EOF
.note : { *(.vms.note) } .note : { *(.vms.note) }
/DISCARD/ : { *(.note) } /DISCARD/ : { *(.note) *(.vms_display_name_info) }
} }
EOF EOF