diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-06 18:04:34 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-06 18:04:34 +0000 |
commit | 01c36de4f23e7978cfde00d62436e0d3243e95c3 (patch) | |
tree | c6afda620ea72e8d5509a2a80bb1ead5e623b130 /c/src/lib/libbsp/m68k/gen68302/startup | |
parent | Added convert stanza to generate pdf version of figures from eps. (diff) | |
download | rtems-01c36de4f23e7978cfde00d62436e0d3243e95c3.tar.bz2 |
Added more sections and made minor modifications to let the linkcmds
work with m68k-elf on late model versions of binutils (990901+)
without overlapping or missing section errors.
Diffstat (limited to 'c/src/lib/libbsp/m68k/gen68302/startup')
-rw-r--r-- | c/src/lib/libbsp/m68k/gen68302/startup/linkcmds | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68302/startup/linkcmds b/c/src/lib/libbsp/m68k/gen68302/startup/linkcmds index 47cb15608c..5f50c68595 100644 --- a/c/src/lib/libbsp/m68k/gen68302/startup/linkcmds +++ b/c/src/lib/libbsp/m68k/gen68302/startup/linkcmds @@ -49,14 +49,20 @@ SECTIONS *(.dtors) LONG(0) __DTOR_END__ = .; + + _rodata_start = . ; + *(.rodata) + *(.gnu.linkonce.r*) + _erodata = ALIGN( 0x10 ) ; + etext = ALIGN( 0x10 ) ; } - .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM .data 0x010000 : { data_start = . ; *(.data) *(.gnu.linkonce.d.*) + *(.gcc_except_table) edata = ALIGN( 0x10 ) ; } .bss ADDR( .data ) + SIZEOF( .data ): |