[Patch] MIPS: Clean up gas help text.

David Daney ddaney@avtrex.com
Wed Jan 3 18:18:00 GMT 2007


Thiemo Seufer wrote:
> David Daney wrote:
>   
>> MIPS gas has redundant help text for the -mno-shared option.  This patch 
>> tries to improve the situation.
>>
>> Tested with x86_64-linux -> mipsel-linux cross build.
>>
>> OK to commit?
>>
>> 2006-12-29  David Daney  <ddaney@avtrex.com>
>>
>>    * config/tc-mips.c (md_show_usage):  Clean up -mno-shared
>>    documentation.
>>
>> David Daney
>>     
>
>   
>> Index: config/tc-mips.c
>> ===================================================================
>> RCS file: /cvs/src/src/gas/config/tc-mips.c,v
>> retrieving revision 1.361
>> diff -c -p -r1.361 tc-mips.c
>> *** config/tc-mips.c	9 Nov 2006 13:04:39 -0000	1.361
>> --- config/tc-mips.c	30 Dec 2006 05:43:49 -0000
>> *************** MIPS options:\n\
>> *** 14832,14838 ****
>>   -mfix-vr4130		work around VR4130 mflo/mfhi errata\n\
>>   -mgp32			use 32-bit GPRs, regardless of the chosen ISA\n\
>>   -mfp32			use 32-bit FPRs, regardless of the chosen ISA\n\
>> - -mno-shared		optimize output for executables\n\
>>   -msym32			assume all symbols have 32-bit values\n\
>>   -O0			remove unneeded NOPs, do not swap branches\n\
>>   -O			remove unneeded NOPs and swap branches\n\
>> --- 14832,14837 ----
>> *************** MIPS options:\n\
>> *** 14846,14852 ****
>>   -xgot			assume a 32 bit GOT\n\
>>   -mpdr, -mno-pdr		enable/disable creation of .pdr sections\n\
>>   -mshared, -mno-shared   disable/enable .cpload optimization for\n\
>> !                         non-shared code\n\
>>   -mabi=ABI		create ABI conformant object file for:\n"));
>>   
>>     first = 1;
>> --- 14845,14851 ----
>>   -xgot			assume a 32 bit GOT\n\
>>   -mpdr, -mno-pdr		enable/disable creation of .pdr sections\n\
>>   -mshared, -mno-shared   disable/enable .cpload optimization for\n\
>> !                         non position independent (non shared) code\n\
>>     
>
> Ok, "position dependent" might sound better than "non position independent",
> though.
>   
OK, this is what I committed:
2007-01-03  David Daney  <ddaney@avtrex.com>

        * config/tc-mips.c (md_show_usage):  Clean up -mno-shared
        documentation.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas.diff
Type: text/x-patch
Size: 1093 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20070103/8dc832a0/attachment.bin>


More information about the Binutils mailing list