summaryrefslogtreecommitdiffstats
path: root/bsps/m68k/shared/start/linkcmds.base (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-08-12bsps: Fix .data.rel.ro placementSebastian Huber1-1/+1
The .data.rel.ro* linker input section pattern accidentally matches with writeable data those symbol name starts with "ro". Close #4701.
2022-07-15bsps: Sort .noinit* sectionsSebastian Huber1-1/+1
Sort the .noinit* input sections by name first, then by alignment if two sections have the same name. This allows the placement of begin/end symbols to initialize some areas with a special value. Update #4678.
2022-07-11bsps/m68k/shared: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-03-10bsps/m68k/: Scripted embedded brains header file clean upJoel Sherrill1-6/+0
Updates #4625.
2021-05-02bsps: Support RTEMS_NOINIT in linkcmdsSebastian Huber1-0/+7
Update #3866.
2021-01-26bsps: Add missing DWARF 5 sectionsSebastian Huber1-3/+5
Sort alphabetically.
2021-01-25bsps: Support DWARF 5 sectionsSebastian Huber1-8/+13
GCC 11 uses DWARF 5 by default.
2020-02-04bsps: Add RamEnd to linker command filesSebastian Huber1-0/+1
Update #3838.
2018-06-27Rework initialization and interrupt stack supportSebastian Huber1-9/+1
Statically initialize the interrupt stack area (_Configuration_Interrupt_stack_area_begin, _Configuration_Interrupt_stack_area_end, and _Configuration_Interrupt_stack_size) via <rtems/confdefs.h>. Place the interrupt stack area in a special section ".rtemsstack.interrupt". Let BSPs define the optimal placement of this section in their linker command files (e.g. in a fast on-chip memory). This change makes makes the CPU_HAS_SOFTWARE_INTERRUPT_STACK and CPU_HAS_HARDWARE_INTERRUPT_STACK CPU port defines superfluous, since the low level initialization code has all information available via global symbols. This change makes the CPU_ALLOCATE_INTERRUPT_STACK CPU port define superfluous, since the interrupt stacks are allocated by confdefs.h for all architectures. There is no need for BSP-specific linker command file magic (except the section placement), see previous ARM linker command file as a bad example. Remove _CPU_Install_interrupt_stack(). Initialize the hardware interrupt stack in _CPU_Initialize() if necessary (e.g. m68k_install_interrupt_stack()). The optional _CPU_Interrupt_stack_setup() is still useful to customize the registration of the interrupt stack area in the per-CPU information. The initialization stack can reuse the interrupt stack, since * interrupts are disabled during the sequential system initialization, and * the boot_card() function does not return. This stack resuse saves memory. Changes per architecture: arm: * Mostly replace the linker symbol based configuration of stacks with the standard <rtems/confdefs.h> configuration via CONFIGURE_INTERRUPT_STACK_SIZE. The size of the FIQ, ABT and UND mode stack is still defined via linker symbols. These modes are rarely used in applications and the default values provided by the BSP should be sufficient in most cases. * Remove the bsp_processor_count linker symbol hack used for the SMP support. This is possible since the interrupt stack area is now allocated by the linker and not allocated from the heap. This makes some configure.ac stuff obsolete. Remove the now superfluous BSP variants altcycv_devkit_smp and realview_pbx_a9_qemu_smp. bfin: * Remove unused magic linker command file allocation of initialization stack. Maybe a previous linker command file copy and paste problem? In the start.S the initialization stack is set to a hard coded value. lm32, m32c, mips, nios2, riscv, sh, v850: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. m68k: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. powerpc: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. * Used dedicated memory region (REGION_RTEMSSTACK) for the interrupt stack on BSPs using the shared linkcmds.base (replacement for REGION_RWEXTRA). sparc: * Remove the hard coded initialization stack. Use the interrupt stack for the initialization stack on the boot processor. This saves 16KiB of RAM. Update #3459.
2018-06-27bsps: Support .rtemsstack.* linker input sectionsSebastian Huber1-0/+4
Use a dedicated memory region or place it between the BSS and workspace. Update #3459.
2018-04-20bsps: Move startup files to bspsSebastian Huber1-0/+0
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
2018-03-07bsps/m68k: Fix entry point in linkcmds.baseSebastian Huber1-1/+1
Updates #3520.
2017-12-20genmcf548x, mvme147, mvme147s, mvme162, mvme167: Simplify bsp_specsJoel Sherrill1-0/+1
These BSPs used shared/startup/linkcmds.base and had to be modified as a set. Updates #3520.
2017-01-16powerpc/shared/linkcmds.base: Add .rela.rtemsroset and .rela.rtemsrwsetJoel Sherrill1-0/+2
2016-09-23bsps/m68k: Fix linker command fileSebastian Huber1-1/+1
Prevent garbage collection of interrupt vector table.
2014-04-22bsps: Fix TLS support in linker command filesSebastian Huber1-1/+3
The TLS section symbols had wrong values in case of an empty TLS data section and a nonempty TLS BSS section.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2014-02-04bsps: Thread-local storage (TLS) for linkcmdsSebastian Huber1-0/+8
2013-12-16bsps/m68k: Add and use linkcmds.baseSebastian Huber1-193/+59
2013-12-16bsps: Simplify FreeBSD linker setsSebastian Huber1-13/+4
2013-12-16bsps/arm: Use ALIGN_WITH_INPUTSebastian Huber1-106/+88
This requires at least Binutils 2.24.
2013-06-28bsps/arm: Move input sectionsSebastian Huber1-6/+6
Move input sections to preserve order of the default Binutils script.
2013-05-31bsps/arm: Add SMP supportSebastian Huber1-0/+8
2013-05-27bsps/arm: Move .fast_text sectionSebastian Huber1-9/+9
Move the .fast_text section after the .vector section. The .fast_test section is normally not empty in case some functions should execute from an internal SRAM. This would be also the area for the .vector section. The vector table must be the first content of such an area.
2013-05-27bsps: Update due to linker changesSebastian Huber1-81/+99
In case the VMA and LMA regions differ, the LMA start address is now no longer aligned with the alignment of the input sections: http://sourceware.org/bugzilla/show_bug.cgi?id=15222
2013-05-03bsps/arm: Move .vector sectionSebastian Huber1-38/+38
The .vector section contains read-write data (several mode stacks). Move it to the read-write data area.
2013-03-26bsps/arm: Add thread-local storage (TLS) sectionsSebastian Huber1-1/+7
2013-03-18bsps: Support DWARF extensionSebastian Huber1-0/+2
2012-06-12bsps: Replace NIRVANA regionSebastian Huber1-2/+13
Replace the "NIRVANA" region with the more verbose "UNEXPECTED_SECTIONS" region. Move the region definition into the "linkcmds.base" files.
2011-03-282011-03-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-121/+131
* shared/start/start.S: Default exception handler will result in bsp_reset(). * shared/startup/linkcmds.base: Move unsupported sections into read-only section. Changed barrier sections.
2011-01-262011-01-26 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-46/+2
* shared/startup/linkcmds.base: Removed workaround since LD 2.21 is fixed now.
2010-12-032010-12-03 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-2/+2
* shared/startup/linkcmds.base: Split up fast region.
2010-12-032010-12-03 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-235/+271
* preinstall.am, shared/lpc/include/lpc-i2s.h, shared/startup/linkcmds.armv4, shared/startup/linkcmds.armv7: New files. * Makefile.am: Added header and linker command files intended to be used by every ARM BSP. * shared/startup/linkcmds.base: Support for EABI and ARM ELF standard. * shared/include/linker-symbols.h: Update due to linker command file changes. * shared/start/start.S, shared/include/start.h: Renamed entry symbol from start to _start to avoid namespace conflicts. Update due to linker command file changes.
2010-06-232010-06-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-6/+6
* shared/startup/linkcmds.base: Define bsp_vector_table_size unconditionally. Use bsp_vector_table_in_start_section.
2010-06-212010-06-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-1/+6
* shared/start/start.S, shared/startup/linkcmds.base, shared/include/linker-symbols.h: Added and use bsp_vector_table_begin, bsp_vector_table_size and bsp_vector_table_end.
2010-01-12add support for lpc32xxThomas Doerfler1-18/+34
2009-09-18Removed symbols and renamed sections.Thomas Doerfler1-14/+3
Added bsp_start_memcpy(). Documentation. Changes for external ROM start.
2009-07-17ARM bsp maintenanceThomas Doerfler1-125/+157
2008-09-22*** empty log message ***Thomas Doerfler1-0/+385