From a66c0f2c3bfeebc33e3beefc6eb9249fd3a3b486 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 29 Jun 2002 10:33:45 +0000 Subject: * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define. * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. (EEPROM_START_ADDR): Define. (EEPROM_MEMORY): Define. * emulparams/m68hc12elf.sh: Likewise. * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs section to put soft registers in .page0. * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss. --- ld/scripttempl/elfm68hc12.sc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ld/scripttempl/elfm68hc12.sc') diff --git a/ld/scripttempl/elfm68hc12.sc b/ld/scripttempl/elfm68hc12.sc index a0bc4e0..2b25e77 100644 --- a/ld/scripttempl/elfm68hc12.sc +++ b/ld/scripttempl/elfm68hc12.sc @@ -165,6 +165,10 @@ BSS_DATA_RELOC=" .scommon 0 : { *(.scommon) } " +SOFT_REGS_RELOC=" + .softregs 0 : { *(.softregs) } +" + cat < ${EEPROM_MEMORY}} + ${RELOCATING+${VECTORS}} /* Stabs debugging sections. */ -- cgit v1.1