From: Tristan Gingold Date: Mon, 8 Jul 2013 13:02:21 +0000 (+0000) Subject: 2013-07-08 Tristan Gingold X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=639453f58d9b41fd796f826ac8cb433e19e57fe2;p=binutils-gdb.git 2013-07-08 Tristan Gingold * scripttempl/ia64vms.sc: Add support of per data and per function sections. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 28bf16effbb..1bd8f6e585b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2013-07-08 Tristan Gingold + + * scripttempl/ia64vms.sc: Add support of per data and per function + sections. + 2013-07-01 Alan Modra * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call diff --git a/ld/scripttempl/ia64vms.sc b/ld/scripttempl/ia64vms.sc index cdda6b22f15..ba50f66fbdd 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 <