Advice on exposing an additonal paramter to a function when it is not included in the prototype.

Florian Weimer fw@deneb.enyo.de
Fri Mar 15 17:46:00 GMT 2019


> The problem for us boils down to exposing functions as shared library entry
> points. On AmigaOS libraries pass a pointer to a library "base" as the last
> parameter - which acts somewhat like a got.

Where does this value come from?  How are function pointers
represented in this ABI?



More information about the Gcc-help mailing list