Removed the load address statement from the .bss section.
Otherwise the linker will complain: "section has both a load address and a load region"
This commit is contained in:
parent
bf65589183
commit
3b20a5e34e
@ -55,7 +55,7 @@ SECTIONS
|
|||||||
|
|
||||||
. = ORIGIN(ram);
|
. = ORIGIN(ram);
|
||||||
|
|
||||||
.data : AT (__exidx_end) {
|
.data : {
|
||||||
_data = .;
|
_data = .;
|
||||||
*(.data*) /* Read-write initialized data */
|
*(.data*) /* Read-write initialized data */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
@ -55,7 +55,7 @@ SECTIONS
|
|||||||
|
|
||||||
. = ORIGIN(ram);
|
. = ORIGIN(ram);
|
||||||
|
|
||||||
.data : AT (__exidx_end) {
|
.data : {
|
||||||
_data = .;
|
_data = .;
|
||||||
*(.data*) /* Read-write initialized data */
|
*(.data*) /* Read-write initialized data */
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user