I am wondering if it is planned to integrate support for the usual #pragma section constructs of other toolchains into the NXP GCC toolchain for Power Architecture (current available version is 4.9.4).
Background for my question is that this should be the main (or even only?) functionality that is missing to allow translation of AUTOSAR software packages (e. g. like the MCAL and OS provided by NXP) with a GCC toolchain.
Other toolchains like CodeWarrior, WindRiver Diab and GreenHills provide these pragmas each in their own specific form. However, those toolchain details can be abstracted when adhering to the AUTOSAR memory mapping specification.
With standard GCC, there is no support for #pragma section constructs and you can only use __attribute__ to assign a specific linker section to an object but this is completely incompatible with the AUTOSAR memory mapping specification and makes GCC basically not usable for AUTOSAR software translation.
This recent thread also discusses about integration of #pragma section constructs into another NXP GCC toolchain for S32 Platform:
As the general support of #pragma section constructs should not be that dependent on processor-platform specifics I am asking if such support could be added for Power Architecture devices in a future NXP GCC toolchain and S32 DS release.
Unfortunately, the global scope pragma section feature is not planned to be ported to Power Architecture GCC. Power Architecture GCC 4.9 is maintained as bug fix only changes.