Next: , Previous: -mrestore-a4, Up: Invocation

2.11 -malways-restore-a4

This option is very similar to ‘-mrestore-a4’ (see -mrestore-a4).

The only difference is that it sets ‘a4’ in all functions, including private ones (i.e., functions with internal linkage, ‘static’). This is safer than ‘-mrestore-a4’ (see -mrestore-a4), but is also slower.

Note: This option should not be used except for the creation of an ‘IXEmul’ shared library.

This option was first made available in the ‘GCC’ 2.7.2, ‘Geek Gadgets’ snapshot ‘960902’. It used to be called ‘-falways-restore-a4’, and was relabeled to its current name in the ‘GCC’, ‘Geek Gadgets’ snapshot ‘961012’.

The negative form of ‘-malways-restore-a4’ is ‘-mno-always-restore-a4’, and is on by default.

For more information, please refer to the ‘A2IXLibrary’ documentation.