* scripttempl/v850.sc (.zdata): Add this before .text.
(.sdata): Also include .rosdata as part of the .sdata. (.tdata): Include this just before .sdata.
This commit is contained in:
parent
6cc77b01e7
commit
c23b6a6bc9
|
@ -7,6 +7,10 @@ end-sanitize-m32r
|
||||||
start-sanitize-v850
|
start-sanitize-v850
|
||||||
Thu Oct 17 10:56:49 1996 Jeffrey A Law (law@cygnus.com)
|
Thu Oct 17 10:56:49 1996 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* scripttempl/v850.sc (.zdata): Add this before .text.
|
||||||
|
(.sdata): Also include .rosdata as part of the .sdata.
|
||||||
|
(.tdata): Include this just before .sdata.
|
||||||
|
|
||||||
* emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf".
|
* emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf".
|
||||||
* scripttempl/v850.sc: Wrap script with a "cat << EOF".
|
* scripttempl/v850.sc: Wrap script with a "cat << EOF".
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@ SECTIONS
|
||||||
.rela.plt : { *(.rela.plt) }
|
.rela.plt : { *(.rela.plt) }
|
||||||
.init : { *(.init) } =0
|
.init : { *(.init) } =0
|
||||||
.plt : { *(.plt) }
|
.plt : { *(.plt) }
|
||||||
|
.zdata : { *(.zdata) *(.zrodata) *(.zbss*) }
|
||||||
.text :
|
.text :
|
||||||
{
|
{
|
||||||
*(.text)
|
*(.text)
|
||||||
|
@ -71,10 +72,11 @@ SECTIONS
|
||||||
}
|
}
|
||||||
.got : { *(.got.plt) *(.got) }
|
.got : { *(.got.plt) *(.got) }
|
||||||
.dynamic : { *(.dynamic) }
|
.dynamic : { *(.dynamic) }
|
||||||
|
.tdata : { *(.tdata) }
|
||||||
/* We want the small data sections together, so single-instruction offsets
|
/* We want the small data sections together, so single-instruction offsets
|
||||||
can access them all, and initialized data all before uninitialized, so
|
can access them all, and initialized data all before uninitialized, so
|
||||||
we can shorten the on-disk segment size. */
|
we can shorten the on-disk segment size. */
|
||||||
.sdata : { *(.sdata) }
|
.sdata : { *(.rosdata) *(.sdata) }
|
||||||
_edata = .;
|
_edata = .;
|
||||||
PROVIDE (edata = .);
|
PROVIDE (edata = .);
|
||||||
__bss_start = .;
|
__bss_start = .;
|
||||||
|
|
Loading…
Reference in New Issue