Dear list, I've just subscribed to the list and I hope this is the right place for the following question.
The operating system I'd like to use gcc for (OS-9, for the curious) requires an ABI, where global variables are only accessed through register indirect addressing. On the powerpc platform, r2 is used for indirect addressing. There is already a feature in gcc which can use register indirect addressing for the powerpc target for global variables using a special small data area, but unfortunately this is not enough. Currently I'm a bit lost in where to start reading to get an idea how I could add this new ABI to gcc. Can you please point me to some reading or maybe even share some ideas how this could be accomplished? Best wishes from Austria, Thomas -- ************************************************************************************ Thomas Baier MicroSys Electronics GmbH Mühlweg 1 D-82054 Sauerlach Tel.: +49 8104 801-132 Fax: +49 8104 801-110 Sitz der Gesellschaft: Sauerlach Geschäftsführer: Dipl.-Ing. Richard Loeffl, Dipl.-Ing. Dieter Pfeiffer HRB München 48340 Ust.ID No: DE129296566 mailto:ba...@microsys.de http://www.microsys.de/ ***********************************************************************************