diff options
author | Steve Chamberlain <sac@cygnus> | 1992-08-07 19:34:59 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1992-08-07 19:34:59 +0000 |
commit | ae475b39b2c0aa785d265bb0b6baa44de30c415c (patch) | |
tree | 061b7217353e3f0e658b6fc01a45bc885f017872 /ld/h8300hms.sc-sh | |
parent | f6492282df033583f56eb2d910719f3274f2ddf2 (diff) | |
download | gdb-ae475b39b2c0aa785d265bb0b6baa44de30c415c.zip gdb-ae475b39b2c0aa785d265bb0b6baa44de30c415c.tar.gz gdb-ae475b39b2c0aa785d265bb0b6baa44de30c415c.tar.bz2 |
* ldlang.h: add new field "loadable" to output_section_statement.
* ldlang.c (lang_output_section_statement_lookup): initilize new
field. (wild_doit): if new field is not set, then stop output
section from being loadable.
(lang_enter_output_section_statement): set the field from the
NOLOAD keyword
* ldgram.y: new synax for NOLOAD. Removes a shift/reduce too.
* h8300hms.sc-sh, h8300hms.em: get -r right.
Diffstat (limited to 'ld/h8300hms.sc-sh')
-rwxr-xr-x | ld/h8300hms.sc-sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/h8300hms.sc-sh b/ld/h8300hms.sc-sh index ca19afb..ed2d44f 100755 --- a/ld/h8300hms.sc-sh +++ b/ld/h8300hms.sc-sh @@ -16,23 +16,23 @@ SECTIONS { *(.text) *(.strings) - _etext = .; + ${RELOCATING+ _etext = . ; } } ${RELOCATING+ > ram} .data : { *(.data) - _edata = .; + ${RELOCATING+ _edata = . ; } } ${RELOCATING+ > ram} .bss : { - ${RELOCATING+ _bss_start = .}; + ${RELOCATING+ _bss_start = . ;} *(.bss) *(COMMON) - ${RELOCATING+ _end = .}; + ${RELOCATING+ _end = . ; } } ${RELOCATING+ >ram} .stack : { - _stack = .; + ${RELOCATING+ _stack = . ; } *(.stack) } ${RELOCATING+ > topram} } |