[rtems commit] powerpc/motorola_power: Link all text sections into the executable image
Chris Johns
chrisj at rtems.org
Sun Feb 28 03:37:14 UTC 2021
Module: rtems
Branch: master
Commit: 75fb7a0ee5d76f392e3b38bb920969dffef6e86c
Changeset: http://git.rtems.org/rtems/commit/?id=75fb7a0ee5d76f392e3b38bb920969dffef6e86c
Author: Chris Johns <chrisj at rtems.org>
Date: Wed Feb 24 17:04:36 2021 +1100
powerpc/motorola_power: Link all text sections into the executable image
- The change to building all code with code and data sections means
we have a section per function. Make sure all functions are
placed in the text section.
Closes #4266
---
bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds b/bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds
index 0ee7447..a87a07c 100644
--- a/bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds
+++ b/bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds
@@ -38,6 +38,7 @@ SECTIONS
BYTE(0x75); BYTE(0x78); /* Partition name */
. = 0x400;
*(.text)
+ *(.text*)
*(.sdata2)
*(.rodata)
*(.rodata*)
@@ -98,4 +99,3 @@ SECTIONS
*(.comment)
}
}
-
More information about the vc
mailing list