Changes between Version 6 and Version 7 of GCI/Coding/AddPerSectionSupportToBSPs
- Timestamp:
- 01/07/16 01:29:24 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GCI/Coding/AddPerSectionSupportToBSPs
v6 v7 70 70 Note that the "time" command was used to measure how long this took to execute. The next lines show the size of the sample executables. The final line is "0" indicating the invocation was successful. 71 71 72 Repeat this for every BSP variant in the BSP family. 73 72 74 Now make the modifications needed to turn on the per element section capability: 73 75 … … 76 78 * Edit one or more linkcmds files located within either c/src/lib/libbsp/CPU/BSP/startup/ or c/src/lib/libbsp/CPU/shared/startup to add the KEEP directives. 77 79 78 Using the "build_bsp" script, rebuild the BSP variants in the BSP Family and again note the sizes. If there is no reduction, something is not right. If the reduction is near 100%, then something is not right. 80 Using the "build_bsp" script, rebuild each the BSP variants in the BSP Family and again keep a running record of the sizes. The before and after size information is a critical part of the commit information. 81 82 There are a few quick indicators if something is not right. 83 84 * If the reduction is near 100%, then something is not right. You will likely need mentor help to resolve this. 85 86 * If the BSP did not reduce in size at all, then something is not right. 87 88 The expected drop is 10-50% for the tests with cdtest.exe and cxx_iostream.exe often showing the greatest reductions. 79 89 80 90 If the BSP variant is one which can be tested on a simulator, then you need to test it. … … 118 128 The complete patch and commit message for the mips/jmr3904 can be viewed at https://git.rtems.org/rtems/commit/c/src?id=bd655345c1a5f7dba42ddf6cd56f6259c62eb267. 119 129 130 If the BSP Family has multiple variants, the commit message will need to include the before and after information for each BSP variant in the family. 131