From 6f172a83801e2a9e1f54adde808a8c5edfecf74e Mon Sep 17 00:00:00 2001 From: rsandifo Date: Sat, 5 Mar 2005 09:04:33 +0000 Subject: * doc/invoke.texi: Document new MIPS -msym32 and -mno-sym32 options. * config/mips/mips.h (MASK_SYM32, TARGET_SYM32): New macros. (TARGET_SWITCHES): Add -msym32 and -mno-sym32. (ABI_HAS_64BIT_SYMBOLS): Set to false if TARGET_SYM32. (ASM_SPEC): Pass down -msym32 and -mno-sym32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95926 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/doc/invoke.texi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gcc/doc') diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 7b6bda9a1a0..d40806aac9e 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -548,7 +548,7 @@ Objective-C and Objective-C++ Dialects}. -mxgot -mno-xgot -mgp32 -mgp64 -mfp32 -mfp64 @gol -mhard-float -msoft-float -msingle-float -mdouble-float @gol -mpaired-single -mips3d @gol --mint64 -mlong64 -mlong32 @gol +-mint64 -mlong64 -mlong32 -msym32 -mno-sym32 @gol -G@var{num} -membedded-data -mno-embedded-data @gol -muninit-const-in-rodata -mno-uninit-const-in-rodata @gol -msplit-addresses -mno-split-addresses @gol @@ -9679,6 +9679,15 @@ uses 64-bit @code{long}s, as does the 64-bit EABI; the others use 32-bit @code{long}s. Pointers are the same size as @code{long}s, or the same size as integer registers, whichever is smaller. +@item -msym32 +@itemx -mno-sym32 +@opindex msym32 +@opindex mno-sym32 +Assume (do not assume) that all symbols have 32-bit values, regardless +of the selected ABI@. This option is useful in combination with +@option{-mabi=64} and @option{-mno-abicalls} because it allows GCC +to generate shorter and faster references to symbolic addresses. + @item -G @var{num} @opindex G @cindex smaller data references (MIPS) -- cgit v1.2.1