Aligned SPC5 GHS linker scripts.
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11628 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
122f768fc9
commit
e545ecb529
|
@ -114,19 +114,24 @@ SECTIONS
|
|||
|
||||
.data ALIGN(4) : AT(__romdata_start__)
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__data_start__ = .;
|
||||
*(.data)
|
||||
"*(.data.*)"
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
. = ALIGN(4);
|
||||
*(.ramtext)
|
||||
. = ALIGN(4);
|
||||
__data_end__ = .;
|
||||
} > ram
|
||||
|
||||
__romsdata_start__ = (__data_end__ - __data_start__) + __romdata_start__;
|
||||
|
||||
.sdata ALIGN(4) : AT(__romsdata_start__)
|
||||
{
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
} > ram
|
||||
|
||||
.sbss ALIGN(4) :
|
||||
{
|
||||
__bss_start__ = .;
|
||||
|
|
|
@ -114,19 +114,24 @@ SECTIONS
|
|||
|
||||
.data ALIGN(4) : AT(__romdata_start__)
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__data_start__ = .;
|
||||
*(.data)
|
||||
"*(.data.*)"
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
. = ALIGN(4);
|
||||
*(.ramtext)
|
||||
. = ALIGN(4);
|
||||
__data_end__ = .;
|
||||
} > ram
|
||||
|
||||
__romsdata_start__ = (__data_end__ - __data_start__) + __romdata_start__;
|
||||
|
||||
.sdata ALIGN(4) : AT(__romsdata_start__)
|
||||
{
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
} > ram
|
||||
|
||||
.sbss ALIGN(4) :
|
||||
{
|
||||
__bss_start__ = .;
|
||||
|
|
|
@ -114,19 +114,24 @@ SECTIONS
|
|||
|
||||
.data ALIGN(4) : AT(__romdata_start__)
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__data_start__ = .;
|
||||
*(.data)
|
||||
"*(.data.*)"
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
. = ALIGN(4);
|
||||
*(.ramtext)
|
||||
. = ALIGN(4);
|
||||
__data_end__ = .;
|
||||
} > ram
|
||||
|
||||
__romsdata_start__ = (__data_end__ - __data_start__) + __romdata_start__;
|
||||
|
||||
.sdata ALIGN(4) : AT(__romsdata_start__)
|
||||
{
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
} > ram
|
||||
|
||||
.sbss ALIGN(4) :
|
||||
{
|
||||
__bss_start__ = .;
|
||||
|
|
|
@ -114,19 +114,24 @@ SECTIONS
|
|||
|
||||
.data ALIGN(4) : AT(__romdata_start__)
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__data_start__ = .;
|
||||
*(.data)
|
||||
"*(.data.*)"
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
. = ALIGN(4);
|
||||
*(.ramtext)
|
||||
. = ALIGN(4);
|
||||
__data_end__ = .;
|
||||
} > ram
|
||||
|
||||
__romsdata_start__ = (__data_end__ - __data_start__) + __romdata_start__;
|
||||
|
||||
.sdata ALIGN(4) : AT(__romsdata_start__)
|
||||
{
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
} > ram
|
||||
|
||||
.sbss ALIGN(4) :
|
||||
{
|
||||
__bss_start__ = .;
|
||||
|
|
|
@ -114,19 +114,24 @@ SECTIONS
|
|||
|
||||
.data ALIGN(4) : AT(__romdata_start__)
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__data_start__ = .;
|
||||
*(.data)
|
||||
"*(.data.*)"
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
. = ALIGN(4);
|
||||
*(.ramtext)
|
||||
. = ALIGN(4);
|
||||
__data_end__ = .;
|
||||
} > ram
|
||||
|
||||
__romsdata_start__ = (__data_end__ - __data_start__) + __romdata_start__;
|
||||
|
||||
.sdata ALIGN(4) : AT(__romsdata_start__)
|
||||
{
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
} > ram
|
||||
|
||||
.sbss ALIGN(4) :
|
||||
{
|
||||
__bss_start__ = .;
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
/*
|
||||
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* SPC563M64 memory setup.
|
||||
*/
|
||||
MEMORY
|
||||
{
|
||||
flash : org = 0x00000000, len = 1536k
|
||||
ram : org = 0x40000000, len = 94k
|
||||
}
|
||||
|
||||
INCLUDE rules_z3.ld
|
|
@ -1,26 +0,0 @@
|
|||
/*
|
||||
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* SPC563A70 memory setup.
|
||||
*/
|
||||
MEMORY
|
||||
{
|
||||
flash : org = 0x00000000, len = 2M
|
||||
ram : org = 0x40000000, len = 128k
|
||||
}
|
||||
|
||||
INCLUDE rules_z4.ld
|
|
@ -1,26 +0,0 @@
|
|||
/*
|
||||
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* SPC563A80 memory setup.
|
||||
*/
|
||||
MEMORY
|
||||
{
|
||||
flash : org = 0x00000000, len = 4M
|
||||
ram : org = 0x40000000, len = 192k
|
||||
}
|
||||
|
||||
INCLUDE rules_z4.ld
|
|
@ -108,19 +108,24 @@ SECTIONS
|
|||
|
||||
.data ALIGN(4) : AT(__romdata_start__)
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__data_start__ = .;
|
||||
*(.data)
|
||||
"*(.data.*)"
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
. = ALIGN(4);
|
||||
*(.ramtext)
|
||||
. = ALIGN(4);
|
||||
__data_end__ = .;
|
||||
} > ram
|
||||
|
||||
__romsdata_start__ = (__data_end__ - __data_start__) + __romdata_start__;
|
||||
|
||||
.sdata ALIGN(4) : AT(__romsdata_start__)
|
||||
{
|
||||
__sdata_start__ = . + 0x8000;
|
||||
*(.sdata)
|
||||
"*(.sdata.*)"
|
||||
} > ram
|
||||
|
||||
.sbss ALIGN(4) :
|
||||
{
|
||||
__bss_start__ = .;
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
/*
|
||||
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* SPC56EL54 memory setup in LSM mode.
|
||||
*/
|
||||
MEMORY
|
||||
{
|
||||
flash : org = 0x00000000, len = 768k
|
||||
ram : org = 0x40000000, len = 128k
|
||||
}
|
||||
|
||||
INCLUDE rules_z4.ld
|
|
@ -1,26 +0,0 @@
|
|||
/*
|
||||
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* SPC56EL60 memory setup in LSM mode.
|
||||
*/
|
||||
MEMORY
|
||||
{
|
||||
flash : org = 0x00000000, len = 1M
|
||||
ram : org = 0x40000000, len = 128k
|
||||
}
|
||||
|
||||
INCLUDE rules_z4.ld
|
|
@ -1,26 +0,0 @@
|
|||
/*
|
||||
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* SPC56EL70 memory setup in LSM mode.
|
||||
*/
|
||||
MEMORY
|
||||
{
|
||||
flash : org = 0x00000000, len = 2M
|
||||
ram : org = 0x40000000, len = 192k
|
||||
}
|
||||
|
||||
INCLUDE rules_z4.ld
|
Loading…
Reference in New Issue