diff options
Diffstat (limited to 'bsps/mips')
-rw-r--r-- | bsps/mips/csb350/start/linkcmds | 9 | ||||
-rw-r--r-- | bsps/mips/hurricane/start/linkcmds | 5 | ||||
-rw-r--r-- | bsps/mips/jmr3904/start/linkcmds | 7 | ||||
-rw-r--r-- | bsps/mips/malta/start/linkcmds | 7 | ||||
-rw-r--r-- | bsps/mips/rbtx4925/start/linkcmds | 5 | ||||
-rw-r--r-- | bsps/mips/rbtx4938/start/linkcmds | 5 |
6 files changed, 29 insertions, 9 deletions
diff --git a/bsps/mips/csb350/start/linkcmds b/bsps/mips/csb350/start/linkcmds index b11b73bf42..d9d2d1c815 100644 --- a/bsps/mips/csb350/start/linkcmds +++ b/bsps/mips/csb350/start/linkcmds @@ -194,11 +194,12 @@ SECTIONS _clear_end = .; end = .; _end = .; - . = ALIGN (1024); - WorkAreaBase = .; - - } >ram + } >ram + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) + WorkAreaBase = .; + } >ram /* ** DWARF debug sections. diff --git a/bsps/mips/hurricane/start/linkcmds b/bsps/mips/hurricane/start/linkcmds index 4e10c29f6e..3ffaf52710 100644 --- a/bsps/mips/hurricane/start/linkcmds +++ b/bsps/mips/hurricane/start/linkcmds @@ -172,9 +172,12 @@ SECTIONS _stack_init = .; end = .; _end = .; - WorkAreaBase = .; } + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) + WorkAreaBase = .; + } /* Debug sections. These should never be loadable, but they must have zero addresses for the debuggers to work correctly. */ diff --git a/bsps/mips/jmr3904/start/linkcmds b/bsps/mips/jmr3904/start/linkcmds index 12a8a65b09..a3d64a4284 100644 --- a/bsps/mips/jmr3904/start/linkcmds +++ b/bsps/mips/jmr3904/start/linkcmds @@ -168,9 +168,14 @@ SECTIONS . += _StackSize; __stack = .; _stack_init = .; - WorkAreaBase = .; _clear_end = .; } + + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) + WorkAreaBase = .; + } + . = 0x88400000; /* reserve some memory for Work Area */ end = .; _end = .; diff --git a/bsps/mips/malta/start/linkcmds b/bsps/mips/malta/start/linkcmds index 3a71c5af8b..4e44bce110 100644 --- a/bsps/mips/malta/start/linkcmds +++ b/bsps/mips/malta/start/linkcmds @@ -169,9 +169,14 @@ SECTIONS . += _StackSize; __stack = .; _stack_init = .; - WorkAreaBase = .; _clear_end = .; } + + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) + WorkAreaBase = .; + } + . = 0x88400000; /* reserve some memory for Work Area */ end = .; _end = .; diff --git a/bsps/mips/rbtx4925/start/linkcmds b/bsps/mips/rbtx4925/start/linkcmds index 4f7de84115..7c75cb5d59 100644 --- a/bsps/mips/rbtx4925/start/linkcmds +++ b/bsps/mips/rbtx4925/start/linkcmds @@ -172,9 +172,12 @@ SECTIONS _stack_init = .; end = .; _end = .; - WorkAreaBase = .; } + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) + WorkAreaBase = .; + } /* Debug sections. These should never be loadable, but they must have zero addresses for the debuggers to work correctly. */ diff --git a/bsps/mips/rbtx4938/start/linkcmds b/bsps/mips/rbtx4938/start/linkcmds index 246e11debc..a9deef8cd9 100644 --- a/bsps/mips/rbtx4938/start/linkcmds +++ b/bsps/mips/rbtx4938/start/linkcmds @@ -172,9 +172,12 @@ SECTIONS _stack_init = .; end = .; _end = .; - WorkAreaBase = .; } + .rtemsstack (NOLOAD) : { + *(SORT(.rtemsstack.*)) + WorkAreaBase = .; + } /* Debug sections. These should never be loadable, but they must have zero addresses for the debuggers to work correctly. */ |