On 06/06/17 18:58, Hesham Almatary wrote:

Originally RTEMS had a one big linkcmd for each platform, which
defines linker symbols (used in C code) and required sections. This
has been improved with current BSPs (like ARM-based ones), by
splitting up shared linkcmd parts (linkcmd base) and BSP specific ones
that include the shared one. riscv_generic, given that it's old,
follows the old way of having a single big linkcmd. You can change
this for your new BSP.

New ports/BSPs should definitely use a shared linkcmds.base (see ARM). Use "riscv-rtems4.12-ld --verbose" to get the default linker script.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to