old-cross-binutils/ld/h8300hms.sc-sh
Per Bothner 7e5c1057bb * Makefile.in: Major changes. Removed some the sed
magic to converts scripts, since that is now handled
	by genscripts.sh and the *.sc-sh scipt generators.
	* config.h:  Remove a bunch of macros defining emulations
	and targets.  This becomes one less file to edit when
	adding emulations or targets.
	* ldemul.h (struct ld_emulation_xfer_struct):  Add
	emulation_name and target_name fields.
	* ldemul.c, ldemul.h:  Define some default functions used
	by most emulations (and remove from the *.em scripts).
	* ldemul.c (ldemul_choose_target):  Search the new
	ld_emulations array using a loop (instead of a hardwired
	nested if statement).
	Define the ld_emulation from the automatically-geenrated
	ldemul-list.h.  This means you no longer have to edit ldemul.c
	to add a new emulation.
	* ldmain.c:  Replace {GLD,LNK}960_EMULATION_NAME by
	their expansions, since the former no longer exist.
	* PORTING:  A very rough first draft of a porting guide.
1992-02-15 23:13:00 +00:00

31 lines
453 B
Text
Executable file

cat <<EOF
OUTPUT_FORMAT(${OUTPUT_FORMAT})
OUTPUT_ARCH(${ARCH})
MEMORY {
rom : o = 0x0000, l = 0x7fe0
duart : o = 0x7fe0, l = 16
ram : o = 0x8000, l = 29k
hmsram: o = 0xfb80, l = 512
}
SECTIONS
{
.text :
{
*(.text)
*(.strings)
} ${RELOCATING+ > ram}
.data :
{
*(.data)
} ${RELOCATING+ > ram}
.bss :
{
${RELOCATING+ _bss_start = .}
*(.bss)
*(COMMON)
${RELOCATING+ _end = .}
} ${RELOCATING+ >ram}
}
EOF