Chapter 4. GCC Command Options
-mno-red-zone
Do not use a so called red zone for x86-64 code. The red zone is mandated by the x86-64 ABI,
it is a 128-byte area beyond the location of the stack pointer that will not be modified by signal
or interrupt handlers and therefore can be used for temporary data without adjusting the stack
pointer. The flag
-mcmodel=small
Generate code for the small code model: the program and its symbols must be linked in the lower
2 GB of the address space. Pointers are 64 bits. Programs can be statically or dynamically linked.
This is the default code model.
-mcmodel=kernel
Generate code for the kernel code model. The kernel runs in the negative 2 GB of the address
space. This model has to be used for Linux kernel code.
-mcmodel=medium
Generate code for the medium model: The program is linked in the lower 2 GB of the address
space but symbols can be located anywhere in the address space. Programs can be statically or
dynamically linked, but building of shared libraries are not supported with the medium model.
-mcmodel=large
Generate code for the large model: This model makes no assumptions about addresses and sizes
of sections. Currently GCC does not implement this model.
4.17.4. IA-64 Options
These are the
options defined for the Intel IA-64 architecture.
-m
-mbig-endian
Generate code for a big endian target. This is the default for HP-UX.
-mlittle-endian
Generate code for a little endian target. This is the default for AIX5 and GNU/Linux.
-mgnu-as
-mno-gnu-as
Generate (or don't) code for the GNU assembler. This is the default.
-mgnu-ld
-mno-gnu-ld
Generate (or don't) code for the GNU linker. This is the default.
-mno-pic
Generate code that does not use a global pointer register. The result is not position independent
code, and violates the IA-64 ABI.
-mvolatile-asm-stop
-mno-volatile-asm-stop
Generate (or don't) a stop bit immediately before and after volatile asm statements.
disables this red zone.
-mno-red-zone
109
Need help?
Do you have a question about the ENTERPRISE LINUX 4 and is the answer not in the manual?