summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/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-12bsps/powerpc/shared: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2022-03-10bsps/powerpc/: 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.
2019-02-11bsps/powerpc: Fix small data area sectionSebastian Huber1-8/+12
Fix small data area in case no fixed size is desired. Rename bsp_section_set_sdata_sbss_size into bsp_section_small_data_area_size since this symbol reflects the overall small data area size (including space for libdl). Do not use bsp_section_sbss_size before definition in linker command file. Add new symbols to <bsp/linker-symbols.h>. Update #3687.
2019-02-09libdl: Add powerpc large memory and small data support.Chris Johns1-0/+13
- Add support for architecure sections that can be handled by the architecture back end. - Add trampoline/fixup support for PowerPC. This means the PowerPC now supports large memory loading of applications. - Add a bit allocator to manage small block based regions of memory. - Add small data (sdata/sbss) support for the PowerPC. The support makes the linker allocated small data region of memory a global resource available to libdl loaded object files. Updates #3687 Updates #3685
2018-06-27Rework initialization and interrupt stack supportSebastian Huber1-1/+0
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-5/+6
Use a dedicated memory region or place it between the BSS and workspace. Update #3459.
2018-05-18bsp/powerpc: Remove wildcards in linkcmds.baseSebastian Huber1-3/+3
This reverts commit 40c623a883da5dd80e4599cf4cd14097834706bd. The use of postfix wildcards, e.g. of the form "*.x" is dangerous since it circumvents the standard matching rules for sections. Unknown input sections should be added explicitly to the desired output section via "x.*" wildcards. Update #3307.
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-16bsps/powerpc: Fix linker command filesSebastian Huber1-2/+4
Update #3339.
2018-02-19powerpc/shared/startup/linkcmds.base: Add wildcards on some sectionsJoel Sherrill1-3/+3
Closes #3307.
2017-12-20gen5200, gen83xx, gen83x, mpc55xxevb, psim, qoriq, t32mppc, tqm8xx, virtex: ↵Joel Sherrill1-0/+1
Simplify bsp_specs These BSPs all use shared/startup/linkcmds.base and thus needed to be modified at the same time. Variations in the arguments were reflected into the BSP specific portions of the linkcmds. Updates #3520.
2017-08-22bsps/powerpc: Add 64-bit linker sectionsSebastian Huber1-1/+16
Update #3082.
2017-07-31bsps/powerpc: Do not set ouput format and archSebastian Huber1-4/+0
There is no need to explicitly set the output format and architecture in the linker script. This enables the usage of this linker script with the ELFv2 ABI (64-bit). Update #3082.
2017-01-16powerpc/shared/linkcmds.base: Add .rela.rtemsroset and .rela.rtemsrwsetJoel Sherrill1-0/+2
2016-05-31bsps: Sort some sections first by alignmentSebastian Huber1-4/+4
This helps to avoid alignment padding and thus may reduce some memory waste.
2015-10-28bsps: Generalize .nocacheheap to .nocachenoloadSebastian Huber1-1/+5
Add ability to place data in a non-loadable cache-inhibited area.
2015-10-08bsps: Add .nocacheheap sectionSebastian Huber1-3/+10
This avoids consumption of a loadable address space for the nocache heap.
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
2014-01-30bsps: Fix barrier section definitionsSebastian Huber1-3/+3
2013-12-16bsps: Simplify FreeBSD linker setsSebastian Huber1-12/+4
2013-12-16bsps/powerpc: Use ALIGN_WITH_INPUTSebastian Huber1-126/+99
This requires at least Binutils 2.24.
2013-06-28bsps/powerpc: Update debug sectionsSebastian Huber1-18/+18
2013-05-27bsps: Update due to linker changesSebastian Huber1-89/+116
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-03-18bsps: Support DWARF extensionSebastian Huber1-0/+2
2012-12-03bsps/powerpc: Add .nvram sectionSebastian Huber1-0/+7
2012-12-03bsps/powerpc: Add and use bsp_text input sectionSebastian Huber1-0/+1
2012-12-03bsps/powerpc: Move .fast_text after .text sectionSebastian Huber1-9/+9
2012-06-22bsps/powerpc: Add more BSP sections and sort themSebastian Huber1-2/+4
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.
2012-06-04bsps/powerpc: Add load section for .nocacheSebastian Huber1-1/+3
2012-04-24bsps/powerpc: Add no cache sectionSebastian Huber1-1/+8
2011-08-312011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-0/+0
* shared/startup/linkcmds.base: New file.
2011-07-212011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber1-139/+85
PR 1799/bsps * .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac, clock/clock-config.c, console/console-config.c, console/uart-bridge-master.c, console/uart-bridge-slave.c, include/.cvsignore, include/bsp.h, include/hwreg_vals.h, include/intercom.h, include/irq.h, include/mmu.h, include/qoriq.h, include/tm27.h, include/tsec-config.h, include/u-boot-config.h, include/uart-bridge.h, irq/irq.c, make/custom/qoriq.inc, make/custom/qoriq_core_0.cfg, make/custom/qoriq_core_1.cfg, make/custom/qoriq_p1020rdb.cfg, network/if_intercom.c, network/network.c, rtc/rtc-config.c, shmsupp/intercom-mpci.c, shmsupp/intercom.c, shmsupp/lock.S, start/start.S, startup/bsppredriverhook.c, startup/bspreset.c, startup/bspstart.c, startup/linkcmds.base, startup/linkcmds.qoriq_core_0, startup/linkcmds.qoriq_core_1, startup/linkcmds.qoriq_p1020rdb, startup/mmu-config.c, startup/mmu-tlb1.S, startup/mmu.c: New 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.