aboutsummaryrefslogtreecommitdiff
path: root/ld/h8300hms.sc-sh
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-02-15 23:13:00 +0000
committerPer Bothner <per@bothner.com>1992-02-15 23:13:00 +0000
commit7e5c1057bb33fb6be25ada95ba7f58066d88de80 (patch)
tree7c9c733b223dcb3ab608e93fd9c0f13afffee7ff /ld/h8300hms.sc-sh
parent15c5ec2e272c81d2358a96a21dd9cd038f18d61b (diff)
downloadgdb-7e5c1057bb33fb6be25ada95ba7f58066d88de80.zip
gdb-7e5c1057bb33fb6be25ada95ba7f58066d88de80.tar.gz
gdb-7e5c1057bb33fb6be25ada95ba7f58066d88de80.tar.bz2
* 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.
Diffstat (limited to 'ld/h8300hms.sc-sh')
-rwxr-xr-xld/h8300hms.sc-sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/h8300hms.sc-sh b/ld/h8300hms.sc-sh
index 8aa7ee1..f48b11b 100755
--- a/ld/h8300hms.sc-sh
+++ b/ld/h8300hms.sc-sh
@@ -15,17 +15,17 @@ SECTIONS
{
*(.text)
*(.strings)
- } > ram
+ } ${RELOCATING+ > ram}
.data :
{
*(.data)
- } > ram
+ } ${RELOCATING+ > ram}
.bss :
{
${RELOCATING+ _bss_start = .}
*(.bss)
*(COMMON)
${RELOCATING+ _end = .}
- } >ram
+ } ${RELOCATING+ >ram}
}
EOF