aboutsummaryrefslogtreecommitdiff
path: root/ld/h8300hms.sc-sh
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-06-18 16:42:46 +0000
committerSteve Chamberlain <sac@cygnus>1992-06-18 16:42:46 +0000
commit30d1a3904f93edf8aa397958e74508db5ef584e0 (patch)
treeebfd749c6988f85891e6bef3997175784575a42b /ld/h8300hms.sc-sh
parent7634ebc8048e1b6b264f52b02bc54700e1f390fa (diff)
downloadgdb-30d1a3904f93edf8aa397958e74508db5ef584e0.zip
gdb-30d1a3904f93edf8aa397958e74508db5ef584e0.tar.gz
gdb-30d1a3904f93edf8aa397958e74508db5ef584e0.tar.bz2
* h8300hms.em, h8300hms.sc-sh: do the right thing for -r
* ldexp.c: lint * ldlang.c(open_output): set the target arch and machine as soon as we can. (lang_size_sections): use new macros for setting vma * ldwrite.c: lint
Diffstat (limited to 'ld/h8300hms.sc-sh')
-rwxr-xr-xld/h8300hms.sc-sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/h8300hms.sc-sh b/ld/h8300hms.sc-sh
index 6eab5c2..ca19afb 100755
--- a/ld/h8300hms.sc-sh
+++ b/ld/h8300hms.sc-sh
@@ -16,23 +16,23 @@ SECTIONS
{
*(.text)
*(.strings)
- ${RELOCATING+_etext = .;}
+ _etext = .;
} ${RELOCATING+ > ram}
.data :
{
*(.data)
- ${RELOCATING+_edata = .;}
+ _edata = .;
} ${RELOCATING+ > ram}
.bss :
{
- ${RELOCATING+ _bss_start = .;}
+ ${RELOCATING+ _bss_start = .};
*(.bss)
*(COMMON)
${RELOCATING+ _end = .};
} ${RELOCATING+ >ram}
.stack :
{
- ${RELOCATING+_stack = .;}
+ _stack = .;
*(.stack)
} ${RELOCATING+ > topram}
}