diff options
author | Jeff Law <law@redhat.com> | 1996-10-17 20:48:42 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-10-17 20:48:42 +0000 |
commit | c23b6a6bc91b604da6f8a19a938aa6046991e3ad (patch) | |
tree | fd465b03e484cd991cba25375b6fa4f5a76a38a7 /ld/scripttempl | |
parent | 6cc77b01e7f67371eda84887e4a3fe7d16a709ae (diff) | |
download | gdb-c23b6a6bc91b604da6f8a19a938aa6046991e3ad.zip gdb-c23b6a6bc91b604da6f8a19a938aa6046991e3ad.tar.gz gdb-c23b6a6bc91b604da6f8a19a938aa6046991e3ad.tar.bz2 |
* scripttempl/v850.sc (.zdata): Add this before .text.
(.sdata): Also include .rosdata as part of the .sdata.
(.tdata): Include this just before .sdata.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/v850.sc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/scripttempl/v850.sc b/ld/scripttempl/v850.sc index e0c427f..e4cb426 100644 --- a/ld/scripttempl/v850.sc +++ b/ld/scripttempl/v850.sc @@ -35,6 +35,7 @@ SECTIONS .rela.plt : { *(.rela.plt) } .init : { *(.init) } =0 .plt : { *(.plt) } + .zdata : { *(.zdata) *(.zrodata) *(.zbss*) } .text : { *(.text) @@ -71,10 +72,11 @@ SECTIONS } .got : { *(.got.plt) *(.got) } .dynamic : { *(.dynamic) } + .tdata : { *(.tdata) } /* We want the small data sections together, so single-instruction offsets can access them all, and initialized data all before uninitialized, so we can shorten the on-disk segment size. */ - .sdata : { *(.sdata) } + .sdata : { *(.rosdata) *(.sdata) } _edata = .; PROVIDE (edata = .); __bss_start = .; |