X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=ld%2Fscripttempl%2Ftic30coff.sc;h=d10f21dd78355db5ce63076883ee142b78a359a7;hb=205c426a9bb387204a21165e2275e31c32248035;hp=df2d4f737cd351ae5f69b45a66cad64cafd9e84d;hpb=cdf91fe4518bcd6c7d838d358e07317b90f158f3;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/scripttempl/tic30coff.sc b/ld/scripttempl/tic30coff.sc index df2d4f737c..d10f21dd78 100644 --- a/ld/scripttempl/tic30coff.sc +++ b/ld/scripttempl/tic30coff.sc @@ -1,4 +1,16 @@ +# Copyright (C) 2014-2019 Free Software Foundation, Inc. +# +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. + cat < rom + .text : + { + *(.text) + } > rom -.const : -{ - *(.const) - __etext = . ; -} > rom + .const : + { + *(.const) + __etext = . ; + } > rom -.mdata : AT( ADDR(.const) + SIZEOF(.const) ) -{ - __data = . ; - *(.data); - __edata = . ; -} > ram + .mdata : AT( ADDR(.const) + SIZEOF(.const) ) + { + __data = . ; + *(.data); + __edata = . ; + } > ram -.bss : -{ - __bss = . ; - *(.bss); - *(COMMON); - __ebss = . ; -} > ram + .bss : + { + __bss = . ; + *(.bss); + *(COMMON); + __ebss = . ; + } > ram -.ram0 : -{ - *(ram0) -} > ramblk0 - -.ram1 : -{ - *(ram1) -} > ramblk1 + .ram0 : + { + *(ram0) + } > ramblk0 + .ram1 : + { + *(ram1) + } > ramblk1 } EOF