nuttx/boards/arm/lpc17xx_40xx/lx_cpu/scripts
Pavel Pisa e7ed720699 boards/arm/lpc17xx_40xx/lx_cpu/: increase sections alignment and fix .ARM.exidx overlap.
The ARMv7 specifies minimal alignment to be 8 for EABI. Ensure
that sections are placed with even greater minimal alignment.
Sections final alignment should be adjusted according
to alignment of their inputs, but for some reasons some
combinations lead to .ARM.exidx overlap with .data.
When alignment is increased then the direct fetch of the
fill location

  _eronly = ABSOLUTE(.);

does not match with final LMA placement of the .data section.
Use constructs which should result in matching .data LMA
address for all cases

  _eronly = ABSOLUTE(.);

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2021-01-29 10:40:03 -08:00
..
gnu-elf.ld All linker scripts: Preface all _edata defininitions with . = ALIGN(4). Otherwise, the last bytes in the .data section may not be initialized properly. Also convert all linker scripts indent in units of 8-spaces to units of 4-spaces. 2019-09-15 17:22:16 -06:00
kernel-space.ld All linker scripts: Preface all _edata defininitions with . = ALIGN(4). Otherwise, the last bytes in the .data section may not be initialized properly. Also convert all linker scripts indent in units of 8-spaces to units of 4-spaces. 2019-09-15 17:22:16 -06:00
link-flash-app.ld boards/arm/lpc17xx_40xx/lx_cpu/: increase sections alignment and fix .ARM.exidx overlap. 2021-01-29 10:40:03 -08:00
link-flash-boot.ld boards/arm/lpc17xx_40xx/lx_cpu/: increase sections alignment and fix .ARM.exidx overlap. 2021-01-29 10:40:03 -08:00
link-sdram.ld boards/arm/lpc17xx_40xx/lx_cpu/: increase sections alignment and fix .ARM.exidx overlap. 2021-01-29 10:40:03 -08:00
Make.defs make/expression: improving up asm/C/C++ compile times 2020-11-02 07:53:53 -08:00
memory.ld Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
user-space.ld All linker scripts: Preface all _edata defininitions with . = ALIGN(4). Otherwise, the last bytes in the .data section may not be initialized properly. Also convert all linker scripts indent in units of 8-spaces to units of 4-spaces. 2019-09-15 17:22:16 -06:00