old-cross-binutils/ld/scripttempl/alphavms.sc
Nick Clifton 2a995fc189 * scripttempl/alphavms.sc: Add .debug_macro section.
* scripttempl/elf.sc: Likewise.
	* scripttempl/elf64hppa.sc: Likewise.
	* scripttempl/elf_chaos.sc: Likewise.
	* scripttempl/elfxtensa.sc: Likewise.
	* scripttempl/ia64vms.sc: Likewise.
	* scripttempl/armbpabi.sc: Add .debug_pubtypes, .debug_ranges and
	.debug_macro sections.
	* scripttempl/avr.sc: Likewise.
	* scripttempl/elf32cr16.sc: Likewise.
	* scripttempl/elf32crx.sc: Likewise.
	* scripttempl/elf32msp430.sc: Likewise.
	* scripttempl/elf32msp430_3.sc: Likewise.
	* scripttempl/elf32sh-symbian.sc: Likewise.
	* scripttempl/elfd30v.sc: Likewise.
	* scripttempl/elfi370.sc: Likewise.
	* scripttempl/elfm68hc11.sc: Likewise.
	* scripttempl/elfm68hc12.sc: Likewise.
	* scripttempl/elfxgate.sc: Likewise.
	* scripttempl/i386beos.sc: Likewise.
	* scripttempl/i386go32.sc: Likewise.
	* scripttempl/ip2k.sc: Likewise.
	* scripttempl/iq2000.sc: Likewise.
	* scripttempl/mep.sc: Likewise.
	* scripttempl/mmo.sc: Likewise.
	* scripttempl/v850.sc: Likewise.
	* scripttempl/xstormy16.sc: Likewise.
2012-06-29 07:58:46 +00:00

78 lines
1.6 KiB
Scala

# Linker script for Alpha VMS systems.
# Tristan Gingold <gingold@adacore.com>.
PAGESIZE=0x10000
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
SECTIONS
{
${RELOCATING+. = ${PAGESIZE};}
/* RW initialized data. */
\$DATA\$ ALIGN (${PAGESIZE}) : {
*(\$DATA\$)
}
/* RW data unmodified (zero-initialized). */
\$BSS\$ ALIGN (${PAGESIZE}) : {
*(\$BSS\$)
}
/* RO, executable code. */
\$CODE\$ ALIGN (${PAGESIZE}) : {
*(\$CODE\$ *\$CODE*)
}
/* RO initialized data. */
\$LITERAL\$ ALIGN (${PAGESIZE}) : {
*(\$LINK\$)
*(\$LITERAL\$)
*(\$READONLY\$)
*(\$READONLY_ADDR\$)
*(eh_frame)
*(jcr)
*(ctors)
*(dtors)
*(gcc_except_table)
/* LIB$INITIALIZE stuff. */
*(LIB\$INITIALIZDZ) /* Start marker. */
*(LIB\$INITIALIZD_) /* Hi priority. */
*(LIB\$INITIALIZE) /* User. */
*(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_macro = .;
*(debug_macro)
\$dwarf2.debug_pubnames = .;
*(debug_pubnames)
\$dwarf2.debug_str = .;
*(debug_str)
\$dwarf2.debug_zzzzzz = .;
}
\$DST\$ 0 : {
*(\$DST\$)
}
}
EOF