From 805fa49a4efe9f416bb9c288485e38e7f1f1e98c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 15 Sep 2019 18:02:00 -0600 Subject: [PATCH] Back out/change some of the alignments in the previous comments. Non-ARM CPUs my have different alignment requirements. AVR, for example, has none. MIPS requires 16-byte alignment of the end of .bss. --- boards/avr/at90usb/micropendous3/scripts/micropendous3.ld | 2 -- boards/avr/at90usb/teensy-2.0/scripts/flash.ld | 2 -- boards/avr/atmega/amber/scripts/amber.ld | 2 -- boards/avr/atmega/amber/scripts/gnu-elf.ld | 2 -- boards/avr/atmega/arduino-mega2560/scripts/flash.ld | 2 -- boards/avr/atmega/moteino-mega/scripts/ld.script | 2 -- .../hc/mcs92s12ne64/demo9s12ne64/scripts/demo9s12ne64-banked.ld | 2 -- .../mcs92s12ne64/demo9s12ne64/scripts/demo9s12ne64-unbanked.ld | 2 -- boards/hc/mcs92s12ne64/ne64badge/scripts/ne64badge-banked.ld | 2 -- boards/hc/mcs92s12ne64/ne64badge/scripts/ne64badge-nonbanked.ld | 2 -- boards/mips/pic32mx/mirtoo/scripts/c32-debug.ld | 2 +- boards/mips/pic32mx/mirtoo/scripts/c32-release.ld | 2 +- boards/mips/pic32mx/mirtoo/scripts/mips-elf-debug.ld | 2 +- boards/mips/pic32mx/mirtoo/scripts/mips-elf-release.ld | 2 +- boards/mips/pic32mx/mirtoo/scripts/xc32-debug.ld | 2 +- boards/mips/pic32mx/mirtoo/scripts/xc32-release.ld | 2 +- boards/mips/pic32mx/pic32mx-starterkit/scripts/c32-release.ld | 2 +- boards/mips/pic32mx/pic32mx-starterkit/scripts/mips-release.ld | 2 +- boards/mips/pic32mx/pic32mx7mmb/scripts/c32-release.ld | 2 +- boards/mips/pic32mx/pic32mx7mmb/scripts/mips-release.ld | 2 +- boards/mips/pic32mx/sure-pic32mx/scripts/c32-release.ld | 2 +- boards/mips/pic32mx/sure-pic32mx/scripts/mips-release.ld | 2 +- boards/mips/pic32mx/ubw32/scripts/c32-release.ld | 2 +- boards/mips/pic32mx/ubw32/scripts/mips-release.ld | 2 +- boards/mips/pic32mz/flipnclick-pic32mz/scripts/c32-debug.ld | 2 +- boards/mips/pic32mz/flipnclick-pic32mz/scripts/mips-debug.ld | 2 +- .../mips/pic32mz/flipnclick-pic32mz/scripts/pinguino-debug.ld | 2 +- boards/mips/pic32mz/flipnclick-pic32mz/scripts/xc32-debug.ld | 2 +- boards/mips/pic32mz/pic32mz-starterkit/scripts/c32-debug.ld | 2 +- boards/mips/pic32mz/pic32mz-starterkit/scripts/mips-debug.ld | 2 +- .../mips/pic32mz/pic32mz-starterkit/scripts/pinguino-debug.ld | 2 +- boards/mips/pic32mz/pic32mz-starterkit/scripts/xc32-debug.ld | 2 +- 32 files changed, 22 insertions(+), 42 deletions(-) diff --git a/boards/avr/at90usb/micropendous3/scripts/micropendous3.ld b/boards/avr/at90usb/micropendous3/scripts/micropendous3.ld index 1b5bbe678a..ae97b8498b 100644 --- a/boards/avr/at90usb/micropendous3/scripts/micropendous3.ld +++ b/boards/avr/at90usb/micropendous3/scripts/micropendous3.ld @@ -142,7 +142,6 @@ SECTIONS *(.data .data.*) *(.gnu.linkonce.d.*) CONSTRUCTORS - . = ALIGN(4); _edata = ABSOLUTE(.); } > sram AT > flash @@ -152,7 +151,6 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); _ebss = ABSOLUTE(.); } > sram diff --git a/boards/avr/at90usb/teensy-2.0/scripts/flash.ld b/boards/avr/at90usb/teensy-2.0/scripts/flash.ld index 16a56132c1..b3c21b6fbe 100644 --- a/boards/avr/at90usb/teensy-2.0/scripts/flash.ld +++ b/boards/avr/at90usb/teensy-2.0/scripts/flash.ld @@ -143,7 +143,6 @@ SECTIONS *(.data .data.*) *(.gnu.linkonce.d.*) CONSTRUCTORS - . = ALIGN(4); _edata = ABSOLUTE(.); } > sram AT > flash @@ -153,7 +152,6 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); _ebss = ABSOLUTE(.); } > sram diff --git a/boards/avr/atmega/amber/scripts/amber.ld b/boards/avr/atmega/amber/scripts/amber.ld index 26e2332c31..5fd15a49f2 100644 --- a/boards/avr/atmega/amber/scripts/amber.ld +++ b/boards/avr/atmega/amber/scripts/amber.ld @@ -143,7 +143,6 @@ SECTIONS *(.data .data.*) *(.gnu.linkonce.d.*) CONSTRUCTORS - . = ALIGN(4); _edata = ABSOLUTE(.); } > sram AT > flash @@ -153,7 +152,6 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); _ebss = ABSOLUTE(.); } > sram diff --git a/boards/avr/atmega/amber/scripts/gnu-elf.ld b/boards/avr/atmega/amber/scripts/gnu-elf.ld index 326c30b6f9..a008b8a9be 100644 --- a/boards/avr/atmega/amber/scripts/gnu-elf.ld +++ b/boards/avr/atmega/amber/scripts/gnu-elf.ld @@ -83,7 +83,6 @@ SECTIONS *(.data1) *(.data.*) *(.gnu.linkonce.d*) - . = ALIGN(4); _edata = . ; } @@ -120,7 +119,6 @@ SECTIONS *(.sbss.*) *(.gnu.linkonce.b*) *(COMMON) - . = ALIGN(4); _ebss = . ; } diff --git a/boards/avr/atmega/arduino-mega2560/scripts/flash.ld b/boards/avr/atmega/arduino-mega2560/scripts/flash.ld index 971244a34a..a645389fc2 100644 --- a/boards/avr/atmega/arduino-mega2560/scripts/flash.ld +++ b/boards/avr/atmega/arduino-mega2560/scripts/flash.ld @@ -145,7 +145,6 @@ SECTIONS *(.data .data.*) *(.gnu.linkonce.d.*) CONSTRUCTORS - . = ALIGN(4); _edata = ABSOLUTE(.); } > sram AT > flash @@ -155,7 +154,6 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); _ebss = ABSOLUTE(.); } > sram diff --git a/boards/avr/atmega/moteino-mega/scripts/ld.script b/boards/avr/atmega/moteino-mega/scripts/ld.script index 026d3ee504..02fba05083 100644 --- a/boards/avr/atmega/moteino-mega/scripts/ld.script +++ b/boards/avr/atmega/moteino-mega/scripts/ld.script @@ -146,7 +146,6 @@ SECTIONS *(.rodata*) *(.gnu.linkonce.d.*) CONSTRUCTORS - . = ALIGN(4); _edata = ABSOLUTE(.); } > sram AT > flash @@ -156,7 +155,6 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); _ebss = ABSOLUTE(.); } > sram diff --git a/boards/hc/mcs92s12ne64/demo9s12ne64/scripts/demo9s12ne64-banked.ld b/boards/hc/mcs92s12ne64/demo9s12ne64/scripts/demo9s12ne64-banked.ld index 3541963f4d..534cccd3ec 100644 --- a/boards/hc/mcs92s12ne64/demo9s12ne64/scripts/demo9s12ne64-banked.ld +++ b/boards/hc/mcs92s12ne64/demo9s12ne64/scripts/demo9s12ne64-banked.ld @@ -110,7 +110,6 @@ SECTIONS *(.data .data.*) *(.gnu.linkonce.d.*) CONSTRUCTORS - . = ALIGN(4); _edata = ABSOLUTE(.); } > sram AT > lowtext @@ -119,7 +118,6 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); _ebss = ABSOLUTE(.); } > sram diff --git a/boards/hc/mcs92s12ne64/demo9s12ne64/scripts/demo9s12ne64-unbanked.ld b/boards/hc/mcs92s12ne64/demo9s12ne64/scripts/demo9s12ne64-unbanked.ld index 56bec03dbc..6ec6e5b74b 100644 --- a/boards/hc/mcs92s12ne64/demo9s12ne64/scripts/demo9s12ne64-unbanked.ld +++ b/boards/hc/mcs92s12ne64/demo9s12ne64/scripts/demo9s12ne64-unbanked.ld @@ -83,7 +83,6 @@ SECTIONS *(.data .data.*) *(.gnu.linkonce.d.*) CONSTRUCTORS - . = ALIGN(4); _edata = ABSOLUTE(.); } > sram AT > text @@ -92,7 +91,6 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); _ebss = ABSOLUTE(.); } > sram diff --git a/boards/hc/mcs92s12ne64/ne64badge/scripts/ne64badge-banked.ld b/boards/hc/mcs92s12ne64/ne64badge/scripts/ne64badge-banked.ld index 8373e31710..0b31cfe9ea 100644 --- a/boards/hc/mcs92s12ne64/ne64badge/scripts/ne64badge-banked.ld +++ b/boards/hc/mcs92s12ne64/ne64badge/scripts/ne64badge-banked.ld @@ -114,7 +114,6 @@ SECTIONS *(.data .data.*) *(.gnu.linkonce.d.*) CONSTRUCTORS - . = ALIGN(4); _edata = ABSOLUTE(.); } > sram AT > lowtext @@ -127,7 +126,6 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); _ebss = ABSOLUTE(.); } > sram diff --git a/boards/hc/mcs92s12ne64/ne64badge/scripts/ne64badge-nonbanked.ld b/boards/hc/mcs92s12ne64/ne64badge/scripts/ne64badge-nonbanked.ld index 8a1b046252..8215d39af8 100644 --- a/boards/hc/mcs92s12ne64/ne64badge/scripts/ne64badge-nonbanked.ld +++ b/boards/hc/mcs92s12ne64/ne64badge/scripts/ne64badge-nonbanked.ld @@ -87,7 +87,6 @@ SECTIONS *(.data .data.*) *(.gnu.linkonce.d.*) CONSTRUCTORS - . = ALIGN(4); _edata = ABSOLUTE(.); } > sram AT > text @@ -100,7 +99,6 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); _ebss = ABSOLUTE(.); } > sram diff --git a/boards/mips/pic32mx/mirtoo/scripts/c32-debug.ld b/boards/mips/pic32mx/mirtoo/scripts/c32-debug.ld index b086820132..de41eea585 100644 --- a/boards/mips/pic32mx/mirtoo/scripts/c32-debug.ld +++ b/boards/mips/pic32mx/mirtoo/scripts/c32-debug.ld @@ -265,7 +265,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/mirtoo/scripts/c32-release.ld b/boards/mips/pic32mx/mirtoo/scripts/c32-release.ld index b34f8f7572..b6c778f5cb 100644 --- a/boards/mips/pic32mx/mirtoo/scripts/c32-release.ld +++ b/boards/mips/pic32mx/mirtoo/scripts/c32-release.ld @@ -267,7 +267,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/mirtoo/scripts/mips-elf-debug.ld b/boards/mips/pic32mx/mirtoo/scripts/mips-elf-debug.ld index 2614e77561..3487bae1c2 100644 --- a/boards/mips/pic32mx/mirtoo/scripts/mips-elf-debug.ld +++ b/boards/mips/pic32mx/mirtoo/scripts/mips-elf-debug.ld @@ -265,7 +265,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/mirtoo/scripts/mips-elf-release.ld b/boards/mips/pic32mx/mirtoo/scripts/mips-elf-release.ld index 246a6f114a..cce87e4f10 100644 --- a/boards/mips/pic32mx/mirtoo/scripts/mips-elf-release.ld +++ b/boards/mips/pic32mx/mirtoo/scripts/mips-elf-release.ld @@ -267,7 +267,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/mirtoo/scripts/xc32-debug.ld b/boards/mips/pic32mx/mirtoo/scripts/xc32-debug.ld index e3cd9967e2..482aea339e 100644 --- a/boards/mips/pic32mx/mirtoo/scripts/xc32-debug.ld +++ b/boards/mips/pic32mx/mirtoo/scripts/xc32-debug.ld @@ -265,7 +265,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_data_mem diff --git a/boards/mips/pic32mx/mirtoo/scripts/xc32-release.ld b/boards/mips/pic32mx/mirtoo/scripts/xc32-release.ld index 4284b49906..f39e026ce0 100644 --- a/boards/mips/pic32mx/mirtoo/scripts/xc32-release.ld +++ b/boards/mips/pic32mx/mirtoo/scripts/xc32-release.ld @@ -267,7 +267,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_data_mem diff --git a/boards/mips/pic32mx/pic32mx-starterkit/scripts/c32-release.ld b/boards/mips/pic32mx/pic32mx-starterkit/scripts/c32-release.ld index 23b6075a61..a670b70da7 100644 --- a/boards/mips/pic32mx/pic32mx-starterkit/scripts/c32-release.ld +++ b/boards/mips/pic32mx/pic32mx-starterkit/scripts/c32-release.ld @@ -269,7 +269,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/pic32mx-starterkit/scripts/mips-release.ld b/boards/mips/pic32mx/pic32mx-starterkit/scripts/mips-release.ld index 0fb2ab5482..ee42b078d3 100644 --- a/boards/mips/pic32mx/pic32mx-starterkit/scripts/mips-release.ld +++ b/boards/mips/pic32mx/pic32mx-starterkit/scripts/mips-release.ld @@ -269,7 +269,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/pic32mx7mmb/scripts/c32-release.ld b/boards/mips/pic32mx/pic32mx7mmb/scripts/c32-release.ld index 5ab8d84d6f..dd04cf9178 100644 --- a/boards/mips/pic32mx/pic32mx7mmb/scripts/c32-release.ld +++ b/boards/mips/pic32mx/pic32mx7mmb/scripts/c32-release.ld @@ -269,7 +269,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/pic32mx7mmb/scripts/mips-release.ld b/boards/mips/pic32mx/pic32mx7mmb/scripts/mips-release.ld index 411ab2dd3a..6bae116a40 100644 --- a/boards/mips/pic32mx/pic32mx7mmb/scripts/mips-release.ld +++ b/boards/mips/pic32mx/pic32mx7mmb/scripts/mips-release.ld @@ -269,7 +269,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/sure-pic32mx/scripts/c32-release.ld b/boards/mips/pic32mx/sure-pic32mx/scripts/c32-release.ld index a5ea3be072..fe05953ef8 100644 --- a/boards/mips/pic32mx/sure-pic32mx/scripts/c32-release.ld +++ b/boards/mips/pic32mx/sure-pic32mx/scripts/c32-release.ld @@ -269,7 +269,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/sure-pic32mx/scripts/mips-release.ld b/boards/mips/pic32mx/sure-pic32mx/scripts/mips-release.ld index 9839156357..d3edbf9459 100644 --- a/boards/mips/pic32mx/sure-pic32mx/scripts/mips-release.ld +++ b/boards/mips/pic32mx/sure-pic32mx/scripts/mips-release.ld @@ -269,7 +269,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/ubw32/scripts/c32-release.ld b/boards/mips/pic32mx/ubw32/scripts/c32-release.ld index b2da36ff80..2f66fdf3e6 100644 --- a/boards/mips/pic32mx/ubw32/scripts/c32-release.ld +++ b/boards/mips/pic32mx/ubw32/scripts/c32-release.ld @@ -269,7 +269,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mx/ubw32/scripts/mips-release.ld b/boards/mips/pic32mx/ubw32/scripts/mips-release.ld index 3834455c94..5b73ee4601 100644 --- a/boards/mips/pic32mx/ubw32/scripts/mips-release.ld +++ b/boards/mips/pic32mx/ubw32/scripts/mips-release.ld @@ -269,7 +269,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mz/flipnclick-pic32mz/scripts/c32-debug.ld b/boards/mips/pic32mz/flipnclick-pic32mz/scripts/c32-debug.ld index 2ff1832a1a..b11d9e2d41 100644 --- a/boards/mips/pic32mz/flipnclick-pic32mz/scripts/c32-debug.ld +++ b/boards/mips/pic32mz/flipnclick-pic32mz/scripts/c32-debug.ld @@ -288,7 +288,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mz/flipnclick-pic32mz/scripts/mips-debug.ld b/boards/mips/pic32mz/flipnclick-pic32mz/scripts/mips-debug.ld index 2d6a9b8042..f4416b79eb 100644 --- a/boards/mips/pic32mz/flipnclick-pic32mz/scripts/mips-debug.ld +++ b/boards/mips/pic32mz/flipnclick-pic32mz/scripts/mips-debug.ld @@ -288,7 +288,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mz/flipnclick-pic32mz/scripts/pinguino-debug.ld b/boards/mips/pic32mz/flipnclick-pic32mz/scripts/pinguino-debug.ld index b9f47d9020..401064dcbe 100644 --- a/boards/mips/pic32mz/flipnclick-pic32mz/scripts/pinguino-debug.ld +++ b/boards/mips/pic32mz/flipnclick-pic32mz/scripts/pinguino-debug.ld @@ -288,7 +288,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mz/flipnclick-pic32mz/scripts/xc32-debug.ld b/boards/mips/pic32mz/flipnclick-pic32mz/scripts/xc32-debug.ld index cf40395dbe..e3ef7c044d 100644 --- a/boards/mips/pic32mz/flipnclick-pic32mz/scripts/xc32-debug.ld +++ b/boards/mips/pic32mz/flipnclick-pic32mz/scripts/xc32-debug.ld @@ -288,7 +288,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_data_mem diff --git a/boards/mips/pic32mz/pic32mz-starterkit/scripts/c32-debug.ld b/boards/mips/pic32mz/pic32mz-starterkit/scripts/c32-debug.ld index 2f359d3633..70fb72e209 100644 --- a/boards/mips/pic32mz/pic32mz-starterkit/scripts/c32-debug.ld +++ b/boards/mips/pic32mz/pic32mz-starterkit/scripts/c32-debug.ld @@ -288,7 +288,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mz/pic32mz-starterkit/scripts/mips-debug.ld b/boards/mips/pic32mz/pic32mz-starterkit/scripts/mips-debug.ld index b078aac746..4cd4cf0bdb 100644 --- a/boards/mips/pic32mz/pic32mz-starterkit/scripts/mips-debug.ld +++ b/boards/mips/pic32mz/pic32mz-starterkit/scripts/mips-debug.ld @@ -288,7 +288,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mz/pic32mz-starterkit/scripts/pinguino-debug.ld b/boards/mips/pic32mz/pic32mz-starterkit/scripts/pinguino-debug.ld index d8353a8302..087d9e5a5a 100644 --- a/boards/mips/pic32mz/pic32mz-starterkit/scripts/pinguino-debug.ld +++ b/boards/mips/pic32mz/pic32mz-starterkit/scripts/pinguino-debug.ld @@ -288,7 +288,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_datamem diff --git a/boards/mips/pic32mz/pic32mz-starterkit/scripts/xc32-debug.ld b/boards/mips/pic32mz/pic32mz-starterkit/scripts/xc32-debug.ld index 04563b4967..b2c888f7f4 100644 --- a/boards/mips/pic32mz/pic32mz-starterkit/scripts/xc32-debug.ld +++ b/boards/mips/pic32mz/pic32mz-starterkit/scripts/xc32-debug.ld @@ -288,7 +288,7 @@ SECTIONS *(.bss .bss.*) *(.gnu.linkonce.b.*) *(COMMON) - . = ALIGN(4); + . = ALIGN(16); _ebss = ABSOLUTE(.); } > kseg1_data_mem